Add a Maintain Server global capability
This capability allows for general maintenance tasks like flushing caches and reindexing changes, without requiring either Administrate Server (which is too broad) or a handful of other minor capabilities (which we don't want to grow out of control). Change-Id: I3dd75d14e7b0303b23bad24dffb9bfdfb515efc8
This commit is contained in:
@@ -1244,6 +1244,22 @@ kill command ends tasks that currently occupy the Gerrit server, usually
|
||||
a replication task or a user initiated task such as an upload-pack or
|
||||
receive-pack.
|
||||
|
||||
[[capability_maintainServer]]
|
||||
=== Maintain Server
|
||||
|
||||
Allow basic, constrained server maintenance tasks, such as flushing caches and
|
||||
reindexing changes. Does not grant arbitrary database access, read/write, or
|
||||
ACL management permissions, as might the
|
||||
<<capability_administrateServer,administrate server capability>>.
|
||||
|
||||
Implies the following capabilities:
|
||||
|
||||
* <<capability_flushCaches,Flush Caches>>
|
||||
* <<capability_kill,Kill Task>>
|
||||
* <<capability_runGC,Run Garbage Collection>>
|
||||
* <<capability_viewCaches,View Caches>>
|
||||
* <<capability_viewQueue,View Queue>>
|
||||
|
||||
[[capability_modifyAccount]]
|
||||
=== Modify Account
|
||||
|
||||
|
||||
Reference in New Issue
Block a user