Skip to content

Project permissions updates #586

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Nov 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion config/development.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"connectProjectsUrl": "https://connect.topcoder-dev.com/projects/",
"fileServiceEndpoint": "https://api.topcoder-dev.com/v3/files/",
"connectProjectsUrl": "https://connect.topcoder-dev.com/projects/",
"memberServiceEndpoint": "https://api.topcoder-dev.com/v3/members"
"memberServiceEndpoint": "https://api.topcoder-dev.com/v3/members",
"identityServiceEndpoint": "https://api.topcoder-dev.com/v3/"
}
234 changes: 20 additions & 214 deletions docs/permissions.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@
background-color: #b8daff;
vertical-align: middle;
}

.badge-crossed {
opacity: 0.4;
text-decoration: line-through;
}
</style>
</head>
<body>
Expand All @@ -96,11 +101,11 @@ <h1 class="display-4">Permissions</h1>
<p>Legend:</p>
<ul>
<li><span class="badge badge-primary">allowed Project Role</span> - users with such a <strong>Project Role</strong> are allowed to perform the action</li>
<li><span class="badge badge-warning">denied Project Role</span> - users with such a <strong>Project Role</strong> are denied to perform the action even they have some other allow roles</li>
<li><span class="badge badge-primary badge-crossed">denied Project Role</span> - users with such a <strong>Project Role</strong> are denied to perform the action even they have some other allow roles</li>
<li><span class="badge badge-success">allowed Topcoder Role</span> - users with such a <strong>Topcoder Role</strong> are allowed to perform the action</li>
<li><span class="badge badge-danger">denied Topcoder Role</span> - users with such a <strong>Topcoder Role</strong> are denied to perform the action even they have some other allow roles</li>
<li><span class="badge badge-success badge-crossed">denied Topcoder Role</span> - users with such a <strong>Topcoder Role</strong> are denied to perform the action even they have some other allow roles</li>
<li><span class="badge badge-dark">allowed M2M Scope</span> - M2M tokens with such a <strong>scope</strong> are allowed to perform the action</li>
<li><span class="badge badge-secondary">denied M2M Scope</span> - M2M tokens with such a <strong>scope</strong> are allowed to perform the action even they have some other allow scopes</li>
<li><span class="badge badge-dark badge-crossed">denied M2M Scope</span> - M2M tokens with such a <strong>scope</strong> are allowed to perform the action even they have some other allow scopes</li>
</ul>
</div>

Expand Down Expand Up @@ -175,7 +180,7 @@ <h2 class="anchor-container">
<a href="#READ_PROJECT" name="READ_PROJECT" class="anchor"></a>Read Project
</div>
<div class="permission-variable"><small><code>READ_PROJECT</code></small></div>
<div class="text-black-50 small-text"></div>
<div class="text-black-50 small-text">Read project when user is a member.</div>
</div>
<div class="col-9 py-2">
<div>
Expand All @@ -186,14 +191,6 @@ <h2 class="anchor-container">
<span class="badge badge-success" title="Allowed Topcoder Role">Connect Admin</span>
<span class="badge badge-success" title="Allowed Topcoder Role">administrator</span>
<span class="badge badge-success" title="Allowed Topcoder Role">Connect Manager</span>
<span class="badge badge-success" title="Allowed Topcoder Role">Connect Account Manager</span>
<span class="badge badge-success" title="Allowed Topcoder Role">Connect Copilot Manager</span>
<span class="badge badge-success" title="Allowed Topcoder Role">Business Development Representative</span>
<span class="badge badge-success" title="Allowed Topcoder Role">Presales</span>
<span class="badge badge-success" title="Allowed Topcoder Role">Account Executive</span>
<span class="badge badge-success" title="Allowed Topcoder Role">Program Manager</span>
<span class="badge badge-success" title="Allowed Topcoder Role">Solution Architect</span>
<span class="badge badge-success" title="Allowed Topcoder Role">Project Manager</span>
</div>

<div>
Expand All @@ -219,14 +216,6 @@ <h2 class="anchor-container">
<span class="badge badge-success" title="Allowed Topcoder Role">Connect Admin</span>
<span class="badge badge-success" title="Allowed Topcoder Role">administrator</span>
<span class="badge badge-success" title="Allowed Topcoder Role">Connect Manager</span>
<span class="badge badge-success" title="Allowed Topcoder Role">Connect Account Manager</span>
<span class="badge badge-success" title="Allowed Topcoder Role">Connect Copilot Manager</span>
<span class="badge badge-success" title="Allowed Topcoder Role">Business Development Representative</span>
<span class="badge badge-success" title="Allowed Topcoder Role">Presales</span>
<span class="badge badge-success" title="Allowed Topcoder Role">Account Executive</span>
<span class="badge badge-success" title="Allowed Topcoder Role">Program Manager</span>
<span class="badge badge-success" title="Allowed Topcoder Role">Solution Architect</span>
<span class="badge badge-success" title="Allowed Topcoder Role">Project Manager</span>
</div>

<div>
Expand Down Expand Up @@ -1171,10 +1160,12 @@ <h2 class="anchor-container">
</div>
<div class="col-9 py-2">
<div>
<span class="badge badge-primary" title="Allowed Project Role">manager</span>
<span class="badge badge-primary" title="Allowed Project Role">account_manager</span>
<span class="badge badge-primary" title="Allowed Project Role">program_manager</span>
<span class="badge badge-primary" title="Allowed Project Role">account_executive</span>
<span class="badge badge-primary" title="Allowed Project Role">solution_architect</span>
<span class="badge badge-primary" title="Allowed Project Role">project_manager</span>
<span class="badge badge-primary" title="Allowed Project Role">manager</span>
<span class="badge badge-primary" title="Allowed Project Role">copilot</span>
</div>

Expand All @@ -1197,6 +1188,7 @@ <h1 class="anchor-container">
<tr>
<th><div>Project \ Topcoder</div></th>
<th><div>Connect Manager</div></th>
<th><div>Connect Copilot Manager</div></th>
<th><div>Connect Admin</div></th>
<th><div>administrator</div></th>
<th><div>Connect Account Manager</div></th>
Expand Down Expand Up @@ -1246,6 +1238,9 @@ <h1 class="anchor-container">
<td >
</td>
<td >
</td>
<td class="table-primary" title="Default role">
</td>
Expand All @@ -1260,84 +1255,9 @@ <h1 class="anchor-container">
</td>
<td class="table-primary" title="Default role">
</td>
<td >

</td>
<td >

</td>
<td >

</td>
<td >

</td>
<td >

</td>
<td >

</td>
<td >

</td>
<td >

</td>
<td >

</td>
</tr>
<tr>
<th>copilot</th>
<td >

</td>
<td >

</td>
<td >

</td>
<td >

</td>
<td >

</td>
<td >

</td>
<td class="table-primary" title="Default role">
</td>
<td >

</td>
<td >

</td>
<td >

</td>
<td >

</td>
<td >

</td>
</tr>
<tr>
<th>account_manager</th>
<td >
</td>
<td >

</td>
<td >

</td>
<td class="table-primary" title="Default role">
Expand All @@ -1351,92 +1271,14 @@ <h1 class="anchor-container">
<td >

</td>
<td >
</td>
<td >
</td>
<td >
<td class="table-primary" title="Default role">
</td>
<td >
<td class="table-primary" title="Default role">
</td>
<td >

</td>
</tr>
<tr>
<th>account_executive</th>
<td >

</td>
<td >

</td>
<td >

</td>
<td >

</td>
<td >

</td>
<td >

</td>
<td >

</td>
<td class="table-primary" title="Default role">
</td>
<td >

</td>
<td >

</td>
<td >

</td>
<td >

</td>
</tr>
<tr>
<th>project_manager</th>
<td >

</td>
<td >

</td>
<td >

</td>
<td >

</td>
<td >

</td>
<td >

</td>
<td >

</td>
<td >

</td>
<td >

</td>
<td >

</td>
<td class="table-primary" title="Default role">
Expand All @@ -1446,13 +1288,7 @@ <h1 class="anchor-container">
</td>
</tr>
<tr>
<th>solution_architect</th>
<td >

</td>
<td >

</td>
<th>copilot</th>
<td >

</td>
Expand Down Expand Up @@ -1483,36 +1319,6 @@ <h1 class="anchor-container">
<td >

</td>
</tr>
<tr>
<th>program_manager</th>
<td >

</td>
<td >

</td>
<td >

</td>
<td >

</td>
<td >

</td>
<td >

</td>
<td >

</td>
<td >

</td>
<td class="table-primary" title="Default role">
</td>
<td >

</td>
Expand All @@ -1526,7 +1332,7 @@ <h1 class="anchor-container">
</tbody>
<tfoot>
<tr>
<td colspan="13">
<td colspan="14">
<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>.
</td>
</tr>
Expand Down
Loading