Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Permissions that you don't want admin roles to have #11755


User avatar
0
rickfrankel created

Hi,

Could I request a feature/method of adding a permission that doesn't automatically get added to the admin role.

I have a scenario where I have 2 or 3 permissions that are for very specialist functions that no roles should have by default.

Every other permission I want the admin role to get by default. I would love for there to be a way for me to add an attribute or something to the CreateChildPermission call that allows me to say this permission should not be given to anyone by default, including static roles that actually want all permissions by default.

Thanks Rick


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

    Hi Rick,

    Is it possible to create an issue on GitHub ? I will assign it to one of the next milestones.

  • User Avatar
    0
    rickfrankel created

    Done.

    https://github.com/aspnetzero/aspnet-zero-core/issues/5043

    Thanks