Skip to content

Commit e149c9a

Browse files
authored
Merge pull request #791 from topcoder-platform/pm-974_1
fix(PM-974): Allow project managers to view billing accounts in projects from others
2 parents d61ed77 + f63e875 commit e149c9a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/permissions/constants.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ export const PERMISSION = { // eslint-disable-line import/prefer-default-export
309309
...PROJECT_ROLES_MANAGEMENT,
310310
PROJECT_MEMBER_ROLE.COPILOT,
311311
],
312-
topcoderRoles: TOPCODER_ROLES_ADMINS,
312+
topcoderRoles: [...TOPCODER_ROLES_ADMINS, USER_ROLE.PROJECT_MANAGER],
313313
scopes: SCOPES_PROJECTS_READ_AVL_BILLING_ACCOUNTS,
314314
},
315315

@@ -328,6 +328,7 @@ export const PERMISSION = { // eslint-disable-line import/prefer-default-export
328328
],
329329
topcoderRoles: [
330330
USER_ROLE.TOPCODER_ADMIN,
331+
USER_ROLE.PROJECT_MANAGER,
331332
],
332333
scopes: SCOPES_PROJECTS_READ_BILLING_ACCOUNT_DETAILS,
333334
},

0 commit comments

Comments
 (0)