Skip to content

Commit

Permalink
Remove unnecessary role combination
Browse files Browse the repository at this point in the history
  • Loading branch information
peterMuriuki committed Dec 20, 2024
1 parent 3d283bd commit 4ebe41f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rbac/src/adapters/keycloakAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const parseKeycloakClientRoles = (scope: string, stringRole: string) => {
'query-realm': new UserRole(['iam_group', 'iam_role', 'iam_user', 'iam_realm'], Permit.READ),
'view-users': new UserRole(['iam_user'], Permit.READ),
'query-users': new UserRole(['iam_user'], Permit.READ),
'manage-users': UserRole.combineRoles([new UserRole(['iam_user'], Permit.MANAGE)]),
'manage-users': new UserRole(['iam_user'], Permit.MANAGE),
'query-groups': new UserRole(['iam_group'], Permit.READ),
'view-groups': new UserRole(['iam_group'], Permit.READ),
},
Expand Down

0 comments on commit 4ebe41f

Please sign in to comment.