Skip to content

Commit 67f5fa8

Browse files
committed
add access tokens to organization member permissions
1 parent 53f65c4 commit 67f5fa8

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

packages/services/api/src/modules/organization/lib/organization-member-permissions.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ export const permissionGroups: Array<PermissionGroup> = [
1717
title: 'Access support tickets',
1818
description: 'Member can access, create and reply to support tickets.',
1919
},
20+
{
21+
id: 'accessToken:modify',
22+
title: 'Manage organization access tokens',
23+
description: 'Member can create and delete organization access tokens.',
24+
warning:
25+
'Granting a role the ability to manage members enables it to elevate its own permissions.',
26+
},
2027
{
2128
id: 'organization:modifySlug',
2229
title: 'Update organization slug',
@@ -266,7 +273,6 @@ assertAllRulesAreAssigned([
266273
'appDeployment:publish',
267274
'appDeployment:retire',
268275
'usage:report',
269-
'accessToken:modify',
270276
]);
271277

272278
/**

0 commit comments

Comments
 (0)