Base solution for your next web application
Open Closed

Hierarchical Roles #3861


User avatar
0
huntethan89 created

We want to implement the roles so that they appear hierarchically . Each level will have different permissions. The roles does not need to inherit permissions, we should just be able to link and show them in hierarchical form.

An example of roles that we want is- Vancouver ---->Manager -------->General Manager -------->Assistant General Manager

Toronto ---->Manager -------->General Manager -------->Assistant General Manager

Is there a feature in ASP.NET Zero that allows us to achieve this?


2 Answer(s)
  • User Avatar
    0
    moustafa created

    Hello I vote for this feature :)

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    AspNet Zero does not have such a feature. We are adding this request to our list and we will consider this for the next releases.

    In the mean time, you can extned role entity <a class="postlink" href="https://aspnetzero.com/Documents/Extending-Existing-Entities">https://aspnetzero.com/Documents/Extend ... g-Entities</a>, add a code field like we have in OrganizationUnits and then you can show roles in such a hierarcy.

    Thanks.