-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why does Role save Name, Client and User save ID? #2925
Comments
I get the idea, but I still think it's better to save the ID so you don't have to do anything else to change the name. |
I think that the saving role is better than role name in AbpPermissionGrants, any suggestion? @maliming |
Because identity claims saves the role names in the authentication ticket by default and we generally don't have access to the role ids on every request. We didn't wanted to query it or include to the auth ticket unnecessarily. role name usage is pretty standard. Even the |
Why does Role save Name, User save ID?
Role names can change at any time.
The text was updated successfully, but these errors were encountered: