开发者

ASP.NET MVC: Hierarhical roles, custom authorization

开发者 https://www.devze.com 2022-12-10 03:21 出处:网络
Is there a way to organize the roles in my app like a tree? You know, User can do several things, Mo开发者_运维技巧derator is just like user but can do little more, Administator have even more abiliti

Is there a way to organize the roles in my app like a tree? You know, User can do several things, Mo开发者_运维技巧derator is just like user but can do little more, Administator have even more abilitities, etc. I've found nothing in the "Web Site Administration Tool".


You don't need to make it a tree for that.

Remember the same user can have multiple roles. When u need to give those extra permissions, u enable the extra role(s) to that user.

0

精彩评论

暂无评论...
验证码 换一张
取 消