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

ASPNet Role Permission #10840


User avatar
0
KPCS created

Hi Team,

In standard ASP.NET Zero projects there are two roles Admin and User. We want to introduced a new HR Role with ability to create Users.

The concern is the HR person while creating a user, can also give the User a HR role or Admin role. We do not want the HR person to create a user with any role. It should be limited to the default role.

Please advice

Thanks,

Kind Regards, Kumar Prashant


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

    Hi @KPCS

    By defautlt implementation, you can only restrict a role to create a user. However, you can create a new permisison for assigning roles to users and disable related tab in user creation modal.