Skip to content

Commit 9502ce5

Browse files
committed
fix: allow PM to edit project members
1 parent 5013f7b commit 9502ce5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/permissions/constants.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ export const PERMISSION = { // eslint-disable-line import/prefer-default-export
364364
group: 'Project Member',
365365
description: 'Who can add themselves as project members.',
366366
},
367-
topcoderRoles: TOPCODER_ROLES_MANAGERS_AND_ADMINS,
367+
topcoderRoles: [...TOPCODER_ROLES_MANAGERS_AND_ADMINS, USER_ROLE.PROJECT_MANAGER],
368368
scopes: SCOPES_PROJECT_MEMBERS_WRITE,
369369
},
370370

@@ -374,7 +374,7 @@ export const PERMISSION = { // eslint-disable-line import/prefer-default-export
374374
group: 'Project Member',
375375
description: 'Who can add other users as project members.',
376376
},
377-
topcoderRoles: TOPCODER_ROLES_ADMINS,
377+
topcoderRoles: [...TOPCODER_ROLES_ADMINS, USER_ROLE.PROJECT_MANAGER],
378378
scopes: SCOPES_PROJECT_MEMBERS_WRITE,
379379
},
380380

0 commit comments

Comments
 (0)