Replies: 2 comments
-
There's no concept of "Adding Roles" in an Auth Repository, the list of available Roles in the User Admin comes from your Application's Auth Attributes in its C# source code, i.e. not from your Auth Repository datastore. The ability to fetch all users with a role is be highly dependent on your Auth Repository, i.e. this can really only be efficiently implemented in Auth Repositories which maintain roles in a distinct table like |
Beta Was this translation helpful? Give feedback.
-
Thanks for the information. In my use case the roles are stored in userauthrole due to using MicrosoftAuthProvider so that simplifies things. |
Beta Was this translation helpful? Give feedback.
-
Would be nice to have admin ui screens where I can manage roles. More specifically:
Would also like to have methods somewhere that could return all the users in a specific role like IAuthRepository.GetUsersInRoleAs("Admin")
Beta Was this translation helpful? Give feedback.
All reactions