Skip to content

Commit c316c78

Browse files
committed
fix: copilot and above should include all managers
1 parent 4f7dab1 commit c316c78

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

docs/permissions.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1160,10 +1160,12 @@ <h2 class="anchor-container">
11601160
</div>
11611161
<div class="col-9 py-2">
11621162
<div>
1163+
<span class="badge badge-primary" title="Allowed Project Role">manager</span>
1164+
<span class="badge badge-primary" title="Allowed Project Role">account_manager</span>
11631165
<span class="badge badge-primary" title="Allowed Project Role">program_manager</span>
1166+
<span class="badge badge-primary" title="Allowed Project Role">account_executive</span>
11641167
<span class="badge badge-primary" title="Allowed Project Role">solution_architect</span>
11651168
<span class="badge badge-primary" title="Allowed Project Role">project_manager</span>
1166-
<span class="badge badge-primary" title="Allowed Project Role">manager</span>
11671169
<span class="badge badge-primary" title="Allowed Project Role">copilot</span>
11681170
</div>
11691171

src/permissions/constants.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -565,10 +565,7 @@ export const PERMISSION = { // eslint-disable-line import/prefer-default-export
565565
},
566566
topcoderRoles: TOPCODER_ROLES_ADMINS,
567567
projectRoles: [
568-
PROJECT_MEMBER_ROLE.PROGRAM_MANAGER,
569-
PROJECT_MEMBER_ROLE.SOLUTION_ARCHITECT,
570-
PROJECT_MEMBER_ROLE.PROJECT_MANAGER,
571-
PROJECT_MEMBER_ROLE.MANAGER,
568+
...PROJECT_ROLES_MANAGEMENT,
572569
PROJECT_MEMBER_ROLE.COPILOT,
573570
],
574571
},

0 commit comments

Comments
 (0)