summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFredrik Luthander <fredrik.luthander@sonymobile.com>2012-02-13 09:32:43 +0100
committerMartin Fick <mfick@codeaurora.org>2012-03-15 11:26:42 -0600
commit6ee27c0557abcfab19cd8f7639104a38f9f0da94 (patch)
tree13bb44c2b6a84b141ed75372d8d94f8939fdfc2d
parent7f7eadff20913ba85a93ed01980eee27470c7e8e (diff)
Access control documentation: Capabilities introduced
This change introduces the Capabilities section and all capabilities head lines. It will be expanded with the capabilities in separate changes. The query limit section was 'stolen' and edited from the commit message that introduced query limits. Change-Id: I9b814844209d35d1ac7be247d5e3a563f0c631be Signed-off-by: Fredrik Luthander <fredrik.luthander@sonyericsson.com> Signed-off-by: Fredrik Luthander <fredrik.luthander@sonymobile.com>
-rw-r--r--Documentation/access-control.txt57
1 files changed, 57 insertions, 0 deletions
diff --git a/Documentation/access-control.txt b/Documentation/access-control.txt
index 8e9362384d..989b37e426 100644
--- a/Documentation/access-control.txt
+++ b/Documentation/access-control.txt
@@ -815,6 +815,63 @@ recieving reference. In practice this means that you set push permissions
on `refs/for/refs/heads/<branch>` rather than permissions to upload changes
on `refs/heads/<branch>`.
+
+System capabilities
+-------------------
+
+The system capabilities control actions that the administrators of
+the server can perform which usually affect the entire
+server in some way. The administrators may delegate these
+capabilities to trusted groups of users.
+
+Delegation of capabilities allows groups to be granted a subset of
+administrative capabilities without being given complete
+administrative control of the server. This makes it possible to
+keep fewer users in the administrators group, even while spreading
+much of the server administration burden out to more users.
+
+Below you find a list of capabilities available:
+
+
+* Administrate Server
+
+* Create Account
+
+* Create Group
+
+* Create Project
+
+* Flush Caches
+
+* Kill Task
+
+* Priority
+
+* Start Replication
+
+* View Caches
+
+* View Connections
+
+* View Queue
+
+
+[[capability_queryLimit]]
+Query Limit
+~~~~~~~~~~~
+
+Allow site administrators to configure the query limit for users to
+be above the default hard-coded value of 500. Administrators can add
+a global block to `All-Projects` with group(s) that
+should have different limits:
+
+When applying a query limit to a user the largest value granted by
+any of their groups is used.
+
+This limit applies not only to the link:cmd-query.html[`gerrit query`]
+command, but also to the web UI results pagination size.
+
+
[[restart_changes]]
[NOTE]
Restart the Gerrit web application and reload all browsers after