Actions
Bug #24666
openAPI authorization displays 500 error when user has no rights for tokens
Pull Request:
Severity:
Trivial - no functional impact | cosmetic
UX impact:
I was bothered the first time
User visibility:
First impressions of Rudder
Effort required:
Very Small
Priority:
104
Name check:
To do
Fix check:
To do
Regression:
No
Description
When logging in as a user without any rights and the API authorizations plugin is installed, the menu on the navbar shows a "Response error code 500" in place of the API token, but the user simply has no rights : Authorization error: User 'user' is not allowed to access GET secure/api/user/api/token
The plugin should not pollute logs with this error and act as if it were not installed for users without rights
Files
Actions