Asp.net role management at individual control level ????
-
Hi, I am working on an ASP.net application with 3.5 framework. I need to implement control level role management i.e: the ability to hide or disable a control based on the users role or group credentials. Since I need to do this across all controls in the page I want a simple framework based on which I can implement this across the application without much effort and uniform accross the app. I am using windows authentication and sql server provided role management for authentication and role management. Pointers and references in this directions will be deeply appreciated. J.Anandarajeshwaran WWW.BeginWithDisbelief.com
hi hi hi hi
-
Hi, I am working on an ASP.net application with 3.5 framework. I need to implement control level role management i.e: the ability to hide or disable a control based on the users role or group credentials. Since I need to do this across all controls in the page I want a simple framework based on which I can implement this across the application without much effort and uniform accross the app. I am using windows authentication and sql server provided role management for authentication and role management. Pointers and references in this directions will be deeply appreciated. J.Anandarajeshwaran WWW.BeginWithDisbelief.com
hi hi hi hi
-
Are you looking for Login View[^] control?
No I am not looking for loginviewcontrol. say for example:- let us have 2 roles clerk and approver. say clerk has rights to create order and edit order approver has rights to only approve order when a user with clerk credentials logs in only create and edit buttons to be available if he is approver only approve button to be available. lovinviewcontrol will do the trick for implementing this. but my requirement is if someone with the role of clerk and approver(multiple roles to the same user) logs in he must have create,edit and approve all the buttons available. how can I implement this????
hi hi hi hi
-
No I am not looking for loginviewcontrol. say for example:- let us have 2 roles clerk and approver. say clerk has rights to create order and edit order approver has rights to only approve order when a user with clerk credentials logs in only create and edit buttons to be available if he is approver only approve button to be available. lovinviewcontrol will do the trick for implementing this. but my requirement is if someone with the role of clerk and approver(multiple roles to the same user) logs in he must have create,edit and approve all the buttons available. how can I implement this????
hi hi hi hi
-
You can create user groups, roles and controls. Roles could basically have permissions so when you are about to show any control go through the roles or security list and check which ones are applied.
-
Well, during the user creation you can define the user by assignning it to a specific group, authentication type like windows or application, and roles. You may want to store them in the database and should be have normalize tables. Furthermore, You may perhaps have a group mainteance page or role maintenance where these could be maintained. So when the specific user is logged in to the system. You through the groups and roles and check what kinds of layout this user should be able to view.