summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@sonymobile.com>2013-04-23 18:51:04 +0900
committerDavid Pursehouse <david.pursehouse@sonymobile.com>2013-04-23 19:01:37 +0900
commit8becc2aefe46dd149ec72270cdbd3d0e053c5bec (patch)
treeae8e191e7dfa857f3355dda6fed59cbd654a1225 /Documentation
parentc36a0e01d2d4ce09a48ef650dec9c8e3da8c48d7 (diff)
Update documentation to clarify how to set Global Capabilities
The documentation does not clearly state that the Global Capabilities are set via the access rights of the root project (All-Projects). Also the section in which the Global Capabilities are documented is named "System Capabilities" which makes it harder to find by searching. Change the name of the section, and add a clarification paragraph. Change-Id: I46eaf1e81dfc4962f482571fe25b6a6a10e17b45
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/access-control.txt9
-rw-r--r--Documentation/rest-api.txt2
2 files changed, 7 insertions, 4 deletions
diff --git a/Documentation/access-control.txt b/Documentation/access-control.txt
index e38df7589c..0e31d5cb6a 100644
--- a/Documentation/access-control.txt
+++ b/Documentation/access-control.txt
@@ -1025,11 +1025,11 @@ on `refs/for/refs/heads/<branch>` rather than permissions to upload changes
on `refs/heads/<branch>`.
-[[system_capabilities]]
-System capabilities
+[[global_capabilities]]
+Global Capabilities
-------------------
-The system capabilities control actions that the administrators of
+The global 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.
@@ -1040,6 +1040,9 @@ 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.
+Global capabilities are assigned to groups in the access rights settings
+of the root project ("`All-Projects`").
+
Below you find a list of capabilities available:
diff --git a/Documentation/rest-api.txt b/Documentation/rest-api.txt
index c2172d7f52..303fc4b5ca 100644
--- a/Documentation/rest-api.txt
+++ b/Documentation/rest-api.txt
@@ -112,7 +112,7 @@ if options are set which cannot be used together.
calling user has no sufficient permissions.
E.g. some REST endpoints require that the calling user has certain
-link:access-control.html#system_capabilities[global capabilities]
+link:access-control.html#global_capabilities[global capabilities]
assigned.
`403 Forbidden` is also used if `self` is used as account ID and the