-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: Master, 7.2.x
-
Component/s: None
-
Labels:None
-
Fix Priority:2
-
Git Pull Request:
Steps to reproduce:
- Sign in as portal admin
- Create OAuth2 Application with clientId = 12345, set up only PKCE grant and save
- Edit permissions ... grant User role permissions to VIEW UPDATE and CREATE_TOKEN
- Go to Roles and assign User role ACCESS_IN_CONTROL_PANEL for OAuth 2 Administration portlet
- Create a new user and sign in
- Go to Control Panel -> OAuth 2 Administration
- Set secret (e.g. 12345) and enable Client credentials flow, save
Actual Result: An error appears as expected, but the error message reads:
Error: This operation cannot be performed because you cannot impersonate user {1}.
Expected Result: The "{1}" should be replaced with more understandable user info (e.g. user sn or user name).