Actions
Bug #26852
openRest API Error 500 when not authorized
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No
Description
API should send a 403 error instead of 500 error when the api does not the rights to access this api
error message example:
{
"action": "getTokenFeatureStatus",
"result": "error",
"errorDetails": "Authorization error: User 'deployer_read_user' is not allowed to access GET secure/api/user/api/token/status"
}
Files
Actions