I'm new here. I am currently working on a Silverlight application (SL4) with Ria Services. I use the MVVM pattern. My question is, has anyone any experience or idea, whether it is possible to implement a role-based access control at the field level. Both sides should it be dynamic. Permissions of a role should be adapted for the fields.
Asked
Active
Viewed 778 times
2 Answers
0
Yes definitely.
Read this article, at section 'Defining Access and profile properties'.

Shimmy Weitzhandler
- 101,809
- 122
- 424
- 632
0
I support field level access in my application. fine-grained permissions; PrincipalPermission - roles seperate from permissions;
I had to create my own code access security attribute and a view to assign permissions to roles.
I discovered that permissions are hierarchical in nature.
CREATE TABLE [dbo].[Permission]( [id] [uniqueidentifier] NOT NULL, [parent_id] [uniqueidentifier] NULL, [applicationmodule_id] [uniqueidentifier] NULL, [action] [nvarchar](255) NOT NULL,
SecurityModuleAccess -> UpdateUser -> ResetPassword
Something that may help in assigning permissions to roles #TreeListView http://demos.telerik.com/silverlight/#TreeListView/FirstLook

Community
- 1
- 1

Leblanc Meneses
- 3,001
- 1
- 23
- 26