@@ -364,7 +364,7 @@ export const PERMISSION = { // eslint-disable-line import/prefer-default-export
364
364
group : 'Project Member' ,
365
365
description : 'Who can add themselves as project members.' ,
366
366
} ,
367
- topcoderRoles : TOPCODER_ROLES_MANAGERS_AND_ADMINS ,
367
+ topcoderRoles : [ ... TOPCODER_ROLES_MANAGERS_AND_ADMINS , USER_ROLE . PROJECT_MANAGER ] ,
368
368
scopes : SCOPES_PROJECT_MEMBERS_WRITE ,
369
369
} ,
370
370
@@ -374,7 +374,7 @@ export const PERMISSION = { // eslint-disable-line import/prefer-default-export
374
374
group : 'Project Member' ,
375
375
description : 'Who can add other users as project members.' ,
376
376
} ,
377
- topcoderRoles : TOPCODER_ROLES_ADMINS ,
377
+ topcoderRoles : [ ... TOPCODER_ROLES_ADMINS , USER_ROLE . PROJECT_MANAGER ] ,
378
378
scopes : SCOPES_PROJECT_MEMBERS_WRITE ,
379
379
} ,
380
380
@@ -384,7 +384,7 @@ export const PERMISSION = { // eslint-disable-line import/prefer-default-export
384
384
group : 'Project Member' ,
385
385
description : 'Who can update project members with "customer" role.' ,
386
386
} ,
387
- topcoderRoles : TOPCODER_ROLES_ADMINS ,
387
+ topcoderRoles : [ ... TOPCODER_ROLES_ADMINS , USER_ROLE . PROJECT_MANAGER ] ,
388
388
projectRoles : [
389
389
...PROJECT_ROLES_MANAGEMENT ,
390
390
PROJECT_MEMBER_ROLE . COPILOT ,
@@ -398,7 +398,7 @@ export const PERMISSION = { // eslint-disable-line import/prefer-default-export
398
398
group : 'Project Member' ,
399
399
description : 'Who can update project members with non "customer" role.' ,
400
400
} ,
401
- topcoderRoles : TOPCODER_ROLES_ADMINS ,
401
+ topcoderRoles : [ ... TOPCODER_ROLES_ADMINS , USER_ROLE . PROJECT_MANAGER ] ,
402
402
projectRoles : PROJECT_ROLES_MANAGEMENT ,
403
403
scopes : SCOPES_PROJECT_MEMBERS_WRITE ,
404
404
} ,
@@ -409,7 +409,7 @@ export const PERMISSION = { // eslint-disable-line import/prefer-default-export
409
409
group : 'Project Member' ,
410
410
description : 'Who can delete project members with "customer" role.' ,
411
411
} ,
412
- topcoderRoles : TOPCODER_ROLES_ADMINS ,
412
+ topcoderRoles : [ ... TOPCODER_ROLES_ADMINS , USER_ROLE . PROJECT_MANAGER ] ,
413
413
projectRoles : [
414
414
...PROJECT_ROLES_MANAGEMENT ,
415
415
PROJECT_MEMBER_ROLE . COPILOT ,
@@ -423,7 +423,7 @@ export const PERMISSION = { // eslint-disable-line import/prefer-default-export
423
423
group : 'Project Member' ,
424
424
description : 'Who can delete project members with some topcoder role like "manager" etc.' ,
425
425
} ,
426
- topcoderRoles : TOPCODER_ROLES_ADMINS ,
426
+ topcoderRoles : [ ... TOPCODER_ROLES_ADMINS , USER_ROLE . PROJECT_MANAGER ] ,
427
427
projectRoles : PROJECT_ROLES_MANAGEMENT ,
428
428
scopes : SCOPES_PROJECT_MEMBERS_WRITE ,
429
429
} ,
@@ -437,6 +437,7 @@ export const PERMISSION = { // eslint-disable-line import/prefer-default-export
437
437
topcoderRoles : [
438
438
...TOPCODER_ROLES_ADMINS ,
439
439
USER_ROLE . COPILOT_MANAGER ,
440
+ USER_ROLE . PROJECT_MANAGER ,
440
441
] ,
441
442
projectRoles : [
442
443
...PROJECT_ROLES_MANAGEMENT ,
0 commit comments