Skip to content

Commit e06a7a7

Browse files
committed
fix: permission
1 parent 6285831 commit e06a7a7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/permissions/constants.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -308,9 +308,8 @@ export const PERMISSION = { // eslint-disable-line import/prefer-default-export
308308
projectRoles: [
309309
...PROJECT_ROLES_MANAGEMENT,
310310
PROJECT_MEMBER_ROLE.COPILOT,
311-
USER_ROLE.PROJECT_MANAGER,
312311
],
313-
topcoderRoles: TOPCODER_ROLES_ADMINS,
312+
topcoderRoles: [...TOPCODER_ROLES_ADMINS, USER_ROLE.PROJECT_MANAGER],
314313
scopes: SCOPES_PROJECTS_READ_AVL_BILLING_ACCOUNTS,
315314
},
316315

@@ -326,10 +325,10 @@ export const PERMISSION = { // eslint-disable-line import/prefer-default-export
326325
projectRoles: [
327326
...PROJECT_ROLES_MANAGEMENT,
328327
PROJECT_MEMBER_ROLE.COPILOT,
329-
USER_ROLE.PROJECT_MANAGER,
330328
],
331329
topcoderRoles: [
332330
USER_ROLE.TOPCODER_ADMIN,
331+
USER_ROLE.PROJECT_MANAGER,
333332
],
334333
scopes: SCOPES_PROJECTS_READ_BILLING_ACCOUNT_DETAILS,
335334
},

0 commit comments

Comments
 (0)