I am considering asp.net membership and seem to provide everything I need, but I need some special role function.
Currently, I can add a user to a role, excellent.
But I should also be able to add permissions for roles.
i.e.
Role: editor Permissions: you can view the editor menu, you can write to the editor table, you can delete entries in the editor table.
This is currently not supported. The idea is to create an administrator parameter in my program to create the role, and then assign role permissions to say "allow the user to view a specific part of the application", "allow the user to open the menu item"
Any ideas how I could implement soemthing like this?
I assume that the user ROLE provider, but I was wondering if there was any kind of wireframe extension already without my own?
Or does anyone know a good tutorial on how to solve this problem?
I am very pleased that the ASP.NET SQL provider has created in terms of tables, etc., but I think I need to expand it by adding another table called RolesPermissions
and then I guess :-) add some kind of enumeration to the table for each valid resolution
Thanks in advance
source
share