Read Only Permissions
 
Home My Account Forum Try It! Buy It!
About Contact Us Site Map
StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Read Only PermissionsExpand / Collapse
Author
Message
Posted 04/01/2008 9:25:42 AM
StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: 06/25/2008 11:53:33 AM
Posts: 306, Visits: 1,216
I'm setting up form security permissions and have a question regarding the Read Only option.

I created four permissions per form, View, Add, Edit and Delete.  If I give 'View' permissions and Deny Add, Edit and Delete, have I essentially granted Read Only Permissions on the Form? 

Do you suggest I check the option 'Do not allow read-only as a possible action for this permission' on the four form permissions to elimiate any confusion for the user setting the permissions?

Thanks

Tim

Post #15279
Posted 04/01/2008 10:16:38 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 8:47:41 AM
Posts: 4,104, Visits: 4,175
This is really a judgement call on your part as it relates to your users.  The difference here is that when you use the read-only option, the control to which it is bound will follow suit without you having to add any additional code.  That is the primary benefit.  Otherwise you are correct in your assessment.
Post #15286
Posted 04/01/2008 11:52:35 AM
StrataFrame VIP

StrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIP

Group: StrataFrame Users
Last Login: Yesterday @ 7:28:28 PM
Posts: 1,148, Visits: 2,830
I needed something simular, in that I needed either edit or readonly permissions for a form. However, forms only allow one security key to be set and it controls if the form is shown or not. If the user has GRANT on the permission it is shown, otherwise (READONLY or DENY) it is not shown. (See http://forum.strataframe.net/FindPost7610.aspx.) Has this changed?

If not, I'm curious how you are planning on handling this Tim. What I ended up doing was setting a security key on every field in the BO (which is now a lot easier that the Customize Wizard allows you to set the security key...thank to the SF team ). This ensures that the user can't mess with the data except how they are allowed (on any form). To handle enabling/showing items on the toolstrip (or any other control), I have a property extender (like a the tooltip provider or error provider) where I can manage control state via the user's permissions. I'm not convinced this is the best way to go, but haven't thought of any other way just yet.
Post #15297
Posted 04/01/2008 12:14:48 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 8:47:41 AM
Posts: 4,104, Visits: 4,175
Has this changed?

No...for a form you are right on the money, Greg.  I was referring to the field level security.

Post #15299
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 10:04am

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.047. 10 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.