Actually ignore. I have figured it out.
Thanks, Pavel
Hi,
great, thanks for the explanation. How can I update user create/update role assignment (persistence) logic? I already know how to update GetAssignableRolesAsync.
Thanks, Pavel
Hi,
We are using ABP Pro 10.7.0 with Angular. A user with our custom **SuperUser **role can create users, but the role selector only offers SuperUser. A user with the built-in **admin **role can select multiple roles.
SuperUser has AbpIdentity.Users.ManageRoles, as well as the relevant user creation and update permissions.
We also override GetAssignableRolesAsync to exclude certain roles, but that filter applies to both users and does not explain the difference.
Could you confirm:
Is limiting non-admin users to assigning their own roles expected ABP Pro behavior? Can this be configured through permissions, or does it require customization? What is the recommended way to allow SuperUser to assign a specific set of roles, both in the selector and when saving a user, without granting the built-in admin role?
Thanks, Pavel