2018-05-14 15:46:41 +02:00
|
|
|
title: Ranks and Permissions
|
|
|
|
|
|
|
|
## Overview
|
|
|
|
|
|
|
|
* **New Members** - mostly untrusted, cannot change package meta data or publish releases without approval.
|
|
|
|
* **Members** - Trusted to change the meta data of their own packages', but cannot publish releases.
|
|
|
|
* **Editors** - Trusted to change the meta data of any package, and also make and publish releases.
|
|
|
|
* **Moderators** - Same as above, but can manage users.
|
|
|
|
* **Admins** - Full access.
|
|
|
|
|
|
|
|
## Breakdown
|
|
|
|
|
2018-05-15 16:03:08 +02:00
|
|
|
<table class="fancyTable">
|
2018-05-14 15:46:41 +02:00
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Rank</th>
|
|
|
|
<th colspan=2>New Member</th>
|
|
|
|
<th colspan=2>Member</th>
|
|
|
|
<th colspan=2>Editor</th>
|
|
|
|
<th colspan=2>Moderator</th>
|
|
|
|
<th colspan=2>Admin</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Owner of thing</th>
|
|
|
|
<th>Y</th>
|
|
|
|
<th>N</th>
|
|
|
|
<th>Y</th>
|
|
|
|
<th>N</th>
|
|
|
|
<th>Y</th>
|
|
|
|
<th>N</th>
|
|
|
|
<th>Y</th>
|
|
|
|
<th>N</th>
|
|
|
|
<th>Y</th>
|
|
|
|
<th>N</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>Create Package</td>
|
|
|
|
<th>✓</th> <!-- new -->
|
|
|
|
<th></th>
|
|
|
|
<th>✓</th> <!-- member -->
|
|
|
|
<th></th>
|
|
|
|
<th>✓</th> <!-- editor -->
|
|
|
|
<th>✓</th>
|
|
|
|
<th>✓</th> <!-- moderator -->
|
|
|
|
<th>✓</th>
|
|
|
|
<th>✓</th> <!-- admin -->
|
|
|
|
<th>✓</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Approve Package</td>
|
|
|
|
<th></th> <!-- new -->
|
|
|
|
<th></th>
|
|
|
|
<th></th> <!-- member -->
|
|
|
|
<th></th>
|
|
|
|
<th>✓</th> <!-- editor -->
|
|
|
|
<th>✓</th>
|
|
|
|
<th>✓</th> <!-- moderator -->
|
|
|
|
<th>✓</th>
|
|
|
|
<th>✓</th> <!-- admin -->
|
|
|
|
<th>✓</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Edit Package</td>
|
|
|
|
<th></th> <!-- new -->
|
|
|
|
<th></th>
|
|
|
|
<th>✓</th> <!-- member -->
|
|
|
|
<th></th>
|
|
|
|
<th>✓</th> <!-- editor -->
|
|
|
|
<th>✓</th>
|
|
|
|
<th>✓</th> <!-- moderator -->
|
|
|
|
<th>✓</th>
|
|
|
|
<th>✓</th> <!-- admin -->
|
|
|
|
<th>✓</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Approve EditRequest</td>
|
|
|
|
<th></th> <!-- new -->
|
|
|
|
<th></th>
|
|
|
|
<th>✓</th> <!-- member -->
|
|
|
|
<th></th>
|
|
|
|
<th>✓</th> <!-- editor -->
|
|
|
|
<th>✓</th>
|
|
|
|
<th>✓</th> <!-- moderator -->
|
|
|
|
<th>✓</th>
|
|
|
|
<th>✓</th> <!-- admin -->
|
|
|
|
<th>✓</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Edit EditRequest</td>
|
|
|
|
<th>✓<sup>1</sup></th> <!-- new -->
|
|
|
|
<th></th>
|
|
|
|
<th>✓</th> <!-- member -->
|
|
|
|
<th></th>
|
|
|
|
<th>✓</th> <!-- editor -->
|
|
|
|
<th>✓</th>
|
|
|
|
<th>✓</th> <!-- moderator -->
|
|
|
|
<th>✓</th>
|
|
|
|
<th>✓</th> <!-- admin -->
|
|
|
|
<th>✓</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Make Release</td>
|
|
|
|
<th>✓</th> <!-- new -->
|
|
|
|
<th></th>
|
|
|
|
<th>✓</th> <!-- member -->
|
|
|
|
<th></th>
|
|
|
|
<th>✓</th> <!-- editor -->
|
|
|
|
<th>✓</th>
|
|
|
|
<th>✓</th> <!-- moderator -->
|
|
|
|
<th>✓</th>
|
|
|
|
<th>✓</th> <!-- admin -->
|
|
|
|
<th>✓</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Approve Release</td>
|
|
|
|
<th></th> <!-- new -->
|
|
|
|
<th></th>
|
|
|
|
<th></th> <!-- member -->
|
|
|
|
<th></th>
|
|
|
|
<th>✓</th> <!-- editor -->
|
|
|
|
<th>✓</th>
|
|
|
|
<th>✓</th> <!-- moderator -->
|
|
|
|
<th>✓</th>
|
|
|
|
<th>✓</th> <!-- admin -->
|
|
|
|
<th>✓</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Change Release URL</td>
|
|
|
|
<th></th> <!-- new -->
|
|
|
|
<th></th>
|
|
|
|
<th></th> <!-- member -->
|
|
|
|
<th></th>
|
|
|
|
<th></th> <!-- editor -->
|
|
|
|
<th></th>
|
|
|
|
<th></th> <!-- moderator -->
|
|
|
|
<th></th>
|
|
|
|
<th>✓</th> <!-- admin -->
|
|
|
|
<th>✓</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Set Email</td>
|
|
|
|
<th>✓</th> <!-- new -->
|
|
|
|
<th></th>
|
|
|
|
<th>✓</th> <!-- member -->
|
|
|
|
<th></th>
|
|
|
|
<th>✓</th> <!-- editor -->
|
|
|
|
<th></th>
|
|
|
|
<th>✓</th> <!-- moderator -->
|
|
|
|
<th>✓<sup>2</sup></th>
|
|
|
|
<th>✓</th> <!-- admin -->
|
|
|
|
<th>✓</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Set Rank</td>
|
|
|
|
<th></th> <!-- new -->
|
|
|
|
<th></th>
|
|
|
|
<th></th> <!-- member -->
|
|
|
|
<th></th>
|
|
|
|
<th></th> <!-- editor -->
|
|
|
|
<th></th>
|
2018-05-14 16:14:26 +02:00
|
|
|
<th>✓<sup>3</sup></th> <!-- moderator -->
|
|
|
|
<th>✓<sup>2</sup><sup>3</sup></th>
|
2018-05-14 15:46:41 +02:00
|
|
|
<th>✓</th> <!-- admin -->
|
|
|
|
<th>✓</th>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
1. User must be the author of the EditRequest.
|
|
|
|
2. Target user cannot be an admin.
|
2018-05-14 16:14:26 +02:00
|
|
|
3. Cannot set user to a higher rank than themselves.
|