-
Notifications
You must be signed in to change notification settings - Fork 75
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
fix: update api-admin permissions from config api yaml #1183
Conversation
[jans-linux-setup] Kudos, SonarCloud Quality Gate passed! |
{ | ||
"role": "api-admin", | ||
"permissions": [ | ||
"https://jans.io/oauth/config/attributes.readonly", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add below permission
to api-admin
role mapping
https://jans.io/oauth/jans-auth-server/config/properties.readonly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add below
permission
toapi-admin
role mapping https://jans.io/oauth/jans-auth-server/config/properties.readonly
Don't worry about it. All scopes from config-api swagger yaml file is added to api-admin
We were using static permissions for role based auth. Since it is static, developers have to update manually when they add new scope. With this PR scopes are updated form jans-config-api swagger yaml file.