Access control documentation: Example roles introduced
This section of the access control manual covers typical roles. We begin with a short introduction and the contributor role in this change. Change-Id: Ie7fbadd8f889e9d8ba5d8b8f485a26a7f7f2f680 Signed-off-by: Fredrik Luthander <fredrik.luthander@sonyericsson.com> Signed-off-by: Fredrik Luthander <fredrik.luthander@sonymobile.com>
This commit is contained in:
committed by
Gustaf Lundh
parent
0f716e62c5
commit
bc75ef7222
@@ -712,6 +712,7 @@ In order to submit, all approval categories (such as `Verified` and
|
||||
`Code Review`, above) must enable submit, and also must not block it.
|
||||
See above for details on each category.
|
||||
|
||||
|
||||
[[category_makeoneup]]
|
||||
Your Category Here
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
@@ -780,6 +781,30 @@ and `-1 Do not have copyright` will block submit, while `+1 Copyright
|
||||
clear` is required to enable submit.
|
||||
|
||||
|
||||
Examples of typical roles in a project
|
||||
--------------------------------------
|
||||
|
||||
Below follows a set of typical roles on a server and which access
|
||||
rights these roles typically should be granted. You may see them as
|
||||
general guide lines for a typical way to set up your project on a
|
||||
brand new Gerrit instance.
|
||||
|
||||
[[examples_contributor]]
|
||||
Contributor
|
||||
~~~~~~~~~~~
|
||||
|
||||
This is the typical user on a public server. They are able to read
|
||||
your project and upload new changes to it. They are able to give
|
||||
feedback on other changes as well, but are unable to block or approve
|
||||
any changes.
|
||||
|
||||
Suggested access rights to grant:
|
||||
|
||||
* <<category_read,`Read`>> on 'refs/heads/\*' and 'refs/tags/*'
|
||||
* <<category_push,`Push`>> to 'refs/for/refs/heads/\*' and 'refs/changes/*'
|
||||
* <<category_label-Code-Review,`Code review`>> with range '-1' to '+1'
|
||||
|
||||
|
||||
[[conversion_table]]
|
||||
Conversion table from 2.1.x series to 2.2.x series
|
||||
--------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user