Base solution for your next web application
Open Closed

RE: Restrictions #2267


User avatar
0
paradoxit created

What options are there for restricting roles?

Can roles be depending on features/editions or even specific users?

I want to be able to prevent certain people seeing roles which may not apply to that tennant.

Thanks in advance for any information/advice.

Kind regards, David Hawkins


4 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    In order to achieve what you are trying to do, you can remove "roles" permission from roles you want. You can do it in the edit role dialog.

    Then you can go to users page and assign "roles" permission to any user you want.

    In that way only the "roles" permission assigned users will see roles page.

    You can read this doc for more detail <a class="postlink" href="http://aspnetboilerplate.com/Pages/Documents/Zero/Permission-Management">http://aspnetboilerplate.com/Pages/Docu ... Management</a>.

  • User Avatar
    0
    paradoxit created

    Apologies, I was not really clear in my request.

    I would like to be able to say something like this;

    Tenant A,B,C can only see Roles 1,2,3 or Feature ABC can only see Roles 4,5,6 etc

    What ways are there of preventing tenant admins seeing specific roles.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Currently, this is not supported by default, you need to manually filter role data when displaying according to current tenant's feature or current user.

  • User Avatar
    0
    paradoxit created

    Hi,

    Thanks for confirming this.

    Kind regards,

    David Hawkins