Skip to content

Commit aad5f29

Browse files
committed
fix: allow Copilot Manager be invited as "manager"
1 parent 422d744 commit aad5f29

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

docs/permissions.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1194,6 +1194,7 @@ <h1 class="anchor-container">
11941194
<tr>
11951195
<th><div>Project \ Topcoder</div></th>
11961196
<th><div>Connect Manager</div></th>
1197+
<th><div>Connect Copilot Manager</div></th>
11971198
<th><div>Connect Admin</div></th>
11981199
<th><div>administrator</div></th>
11991200
<th><div>Connect Account Manager</div></th>
@@ -1243,6 +1244,9 @@ <h1 class="anchor-container">
12431244
<td >
12441245
12451246
</td>
1247+
<td >
1248+
1249+
</td>
12461250
<td class="table-primary" title="Default role">
12471251
12481252
</td>
@@ -1267,6 +1271,9 @@ <h1 class="anchor-container">
12671271
<td class="table-primary" title="Default role">
12681272
12691273
</td>
1274+
<td class="table-primary" title="Default role">
1275+
1276+
</td>
12701277
<td >
12711278

12721279
</td>
@@ -1305,6 +1312,9 @@ <h1 class="anchor-container">
13051312
</td>
13061313
<td >
13071314

1315+
</td>
1316+
<td >
1317+
13081318
</td>
13091319
<td class="table-primary" title="Default role">
13101320
@@ -1328,7 +1338,7 @@ <h1 class="anchor-container">
13281338
</tbody>
13291339
<tfoot>
13301340
<tr>
1331-
<td colspan="13">
1341+
<td colspan="14">
13321342
<div class="roles-matrix-default-color"></div> - means default <strong>Project Role</strong> if user with according <strong>Topcoder Role</strong> directly joins the project (if they are allowed to join directly). If user has multiple <strong>Topcoder Roles</strong> then the most left <strong>Topcoder Role</strong> on the table would define default <strong>Project Role</strong>.
13331343
</td>
13341344
</tr>

src/permissions/constants.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,7 @@ export const PROJECT_TO_TOPCODER_ROLES_MATRIX = {
588588
USER_ROLE.PROGRAM_MANAGER,
589589
USER_ROLE.SOLUTION_ARCHITECT,
590590
USER_ROLE.PROJECT_MANAGER,
591+
USER_ROLE.COPILOT_MANAGER,
591592
],
592593
[PROJECT_MEMBER_ROLE.COPILOT]: [
593594
USER_ROLE.COPILOT,
@@ -607,6 +608,9 @@ export const DEFAULT_PROJECT_ROLE = [
607608
{
608609
topcoderRole: USER_ROLE.MANAGER,
609610
projectRole: PROJECT_MEMBER_ROLE.MANAGER,
611+
}, {
612+
topcoderRole: USER_ROLE.COPILOT_MANAGER,
613+
projectRole: PROJECT_MEMBER_ROLE.MANAGER,
610614
}, {
611615
topcoderRole: USER_ROLE.CONNECT_ADMIN,
612616
projectRole: PROJECT_MEMBER_ROLE.MANAGER,

0 commit comments

Comments
 (0)