Skip to content

Commit

Permalink
Update permission resources
Browse files Browse the repository at this point in the history
  • Loading branch information
kahummer committed Sep 7, 2024
1 parent 10072a1 commit 271501a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/rbac/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@ export enum Permit {
* Authorization server resources that this web client is familiar with, thus we can enforce rbac for permissions on views that
* deal with the below resource.
*/
export const IamResources = ['iam_user', 'iam_role', 'iam_group'] as const;
export const IamResources = [
'iam_user',
'iam_role',
'iam_group',
'iam_user_role',
'iam_user_group',
] as const;
export type IamResource = typeof IamResources[number];

/**
Expand Down

0 comments on commit 271501a

Please sign in to comment.