Access control documentation: Flush caches capability

Describes the capability that grants rights to operate the
'flush-caches' ssh command.

Change-Id: Iedbfca1dd43eb6aaf6994149868b01ad2453aa31
Signed-off-by: Fredrik Luthander <fredrik.luthander@sonymobile.com>
This commit is contained in:
Fredrik Luthander 2012-03-13 13:06:30 +01:00 committed by Gustaf Lundh
parent 79d3815b9e
commit 74ad0d06ec
2 changed files with 14 additions and 3 deletions

View File

@ -833,8 +833,6 @@ much of the server administration burden out to more users.
Below you find a list of capabilities available:
* Flush Caches
* Kill Task
* Priority
@ -887,6 +885,18 @@ either link:cmd-create-project.html[create new git projects via ssh]
or via the web UI.
[[capability_flushCaches]]
Flush Caches
~~~~~~~~~~~~
Allow the flushing of Gerrits caches. This capability allows the granted
group to link:cmd-flush-caches.html[flush some or all Gerrit caches via ssh].
[NOTE]
This capability doesn't imply permissions to the show-caches command. For that
you need the <<capability_viewCaches,view caches capability>>.
[[capability_queryLimit]]
Query Limit
~~~~~~~~~~~

View File

@ -26,7 +26,8 @@ If no options are supplied, defaults to `--all`.
ACCESS
------
Caller must be a member of the privileged 'Administrators' group,
or have granted the 'Flush Caches' global capability.
or in a group that have been granted
link:access-control.html#capability_flushCaches[the 'Flush Caches' global capability].
SCRIPTING
---------