Skip to content
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

Improve owner/maintainer documentation #3313

Merged
merged 6 commits into from
Mar 19, 2018
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
2 changes: 1 addition & 1 deletion warehouse/manage/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ class RoleNameMixin:
role_name = wtforms.SelectField(
'Select a role',
choices=[
('Owner', 'Owner'),
('Maintainer', 'Maintainer'),
('Owner', 'Owner'),
],
validators=[
wtforms.validators.DataRequired(message="Must select a role"),
Expand Down
6 changes: 3 additions & 3 deletions warehouse/templates/manage/roles.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ <h2>Collaborators</h2>
<div class="callout-block">
<p>There are two possible roles for collaborators:</p>
<dl>
<dt>Owner</dt>
<dd>Owns a package, may add other collaborators for that package, and upload releases for a package.</dd>
<dt>Maintainer</dt>
<dd>May upload releases for a package.</dd>
<dd>Can upload releases for a package. Cannot add collaborators. Cannot delete files, releases, or the project.</dd>
<dt>Owner</dt>
<dd>Can upload releases. Can add other collaborators. Can delete files, releases, or the entire project.</dd>
</dl>
</div>
<table class="table table--light table--collaborators">
Expand Down