asp.net mvc configurable permission system
I am working on an asp.net mvc application which requires roles to have permissions associated with them and to have 'admins' able to alter what permissions roles have and create new permissions etc.
Basically, I am wondering if there is a pre-existing way to do this out there already which I have been unable to find.
EDIT:
This is pretty important information which I forgot to add:
Ye, I should have been more clear, I need a 'role' that can read CustomerA's data but not CustomerB's data. I was thinking having a Role which you assign Permissions and then the permissions are what allow you to do stuff, the role would never be checked.
This also brings up another question: Can I get rid of asp.net Identity roles and claims? I just want the AspNetUsers table then build my own stuff.
链接地址: http://www.djcxy.com/p/90168.html上一篇: 在ASP.NET MVC中进行身份验证
下一篇: asp.net mvc可配置权限系统