You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jjeroch 's comment
Recheck done, this issue is (as already assumed by @evegufy ) on the endpoint side.
view_clinet_roles is supposed to get used when it comes to actual role assignment. Since the App Manager is not supposed to assign roles to company users, the permission is not expected to be assigned.
Instead the permission of the following endpoints need to get switched
GET /api/apps/AppChange/{appId}/roles => new permission validation edit_apps
GET /api/apps/AppReleaseProcess/{appId}/roles => new permission validation add_apps
The text was updated successfully, but these errors were encountered:
permission 'view_client_roles' has been changed for the following APIs
GET /api/apps/AppChange/{appId}/roles => new permission validation as 'edit_apps'
GET /api/apps/AppReleaseProcess/{appId}/roles => new permission validation as 'add_apps'
[Refs: 826](eclipse-tractusx#826)
permission 'view_client_roles' has been changed for the following APIs
GET /api/apps/AppChange/{appId}/roles => new permission validation as 'edit_apps'
GET /api/apps/AppReleaseProcess/{appId}/roles => new permission validation as 'add_apps'
[Refs: 826](#826)
Current Behavior
API returns 403 error forbidden while getting the roles, right after uploading the required role file..
https://portal-backend.entry.cofinity-x.com/api/apps/AppReleaseProcess/b6efcea6-d871-4f3c-a33b-0ea48a7a26ce/roles
Request Method:
GET
Status Code:
403 Forbidden
Expected Behavior
App Manager shouldnt get this 403 forbidden issue right after uploading the roles file.
Steps To Reproduce
Findings
App Manager is missing the role:
view_client_roles
fromCl2-CX-Portal
required to access GET endpoint https://portal-backend.entry.cofinity-x.com/api/apps/AppReleaseProcess/{appid}/roles@jjeroch 's comment
Recheck done, this issue is (as already assumed by @evegufy ) on the endpoint side.
view_clinet_roles is supposed to get used when it comes to actual role assignment. Since the App Manager is not supposed to assign roles to company users, the permission is not expected to be assigned.
Instead the permission of the following endpoints need to get switched
edit_apps
add_apps
The text was updated successfully, but these errors were encountered: