diff options
author | Fredrik Luthander <fredrik.luthander@sonymobile.com> | 2012-03-13 17:49:27 +0100 |
---|---|---|
committer | Gustaf Lundh <gustaf.lundh@sonymobile.com> | 2012-03-29 17:36:35 +0200 |
commit | f78d65bef4cab60c517e241b25d85a44ea1dde89 (patch) | |
tree | 2b337269e7d19e77728b1fc7b3eb5ba50762d821 | |
parent | 5d7ea9cf46968b72381c386ffde67bd5880c2d3e (diff) |
Access control documentation: Capability replication and view caches
This change describes the properties of the two capabilities 'Start
Replication' and 'View Caches'.
Change-Id: I3cfd20c27e311051f6db22983b1b20f8aa426d82
Signed-off-by: Fredrik Luthander <fredrik.luthander@sonymobile.com>
-rw-r--r-- | Documentation/access-control.txt | 20 | ||||
-rw-r--r-- | Documentation/cmd-replicate.txt | 3 | ||||
-rw-r--r-- | Documentation/cmd-show-caches.txt | 3 |
3 files changed, 20 insertions, 6 deletions
diff --git a/Documentation/access-control.txt b/Documentation/access-control.txt index 83c0789470..70d645d12a 100644 --- a/Documentation/access-control.txt +++ b/Documentation/access-control.txt @@ -858,10 +858,6 @@ much of the server administration burden out to more users. Below you find a list of capabilities available: -* Start Replication - -* View Caches - * View Connections * View Queue @@ -973,6 +969,22 @@ This limit applies not only to the link:cmd-query.html[`gerrit query`] command, but also to the web UI results pagination size. +[[capability_startReplication]] +Start Replication +~~~~~~~~~~~~~~~~~ + +Allow access to execute link:cmd-replicate.html[the `gerrit replicate` command]. + + +[[capability_viewCaches]] +View Caches +~~~~~~~~~~~ + +Allow querying for status of Gerrits internal caches. This capability allows +the granted group to +link:cmd-show-caches.html[look at some or all Gerrit caches via ssh]. + + [[restart_changes]] [NOTE] Restart the Gerrit web application and reload all browsers after diff --git a/Documentation/cmd-replicate.txt b/Documentation/cmd-replicate.txt index b4ffb0e1bc..7722027549 100644 --- a/Documentation/cmd-replicate.txt +++ b/Documentation/cmd-replicate.txt @@ -53,7 +53,8 @@ just the affected project can update the mirrors. ACCESS ------ Caller must be a member of the privileged 'Administrators' group, -or have been granted the 'Start Replication' global capability. +or have been granted +link:access-control.html#capability_startReplication[the 'Start Replication' global capability]. SCRIPTING --------- diff --git a/Documentation/cmd-show-caches.txt b/Documentation/cmd-show-caches.txt index a841fc1756..069bcf6619 100644 --- a/Documentation/cmd-show-caches.txt +++ b/Documentation/cmd-show-caches.txt @@ -28,7 +28,8 @@ OPTIONS ACCESS ------ Caller must be a member of the privileged 'Administrators' group, -or have been granted the 'View Caches' global capability. +or have been granted +link:access_control.html#capability_viewCaches[the 'View Caches' global capability]. SCRIPTING --------- |