summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoratwardowski <adam.twardowski@gmail.com>2013-06-13 20:12:13 -0300
committeratwardowski <adam.twardowski@gmail.com>2013-06-13 20:12:13 -0300
commit5fb0444cc952614146db4302c8ee4edfac04ec67 (patch)
tree8520e2c7b9b8a6fda1adfc0d6670260d4ce8c016
parent392e86fbfffb95a0cf492f28756d71f29ed0d851 (diff)
downloadceph-5fb0444cc952614146db4302c8ee4edfac04ec67.tar.gz
Update adminops.rst add capabilities
Added the necessary user capabilities required for each API call. Signed-off-by: Adam Twardowski adam.twardowski@gmail.com
-rw-r--r--doc/radosgw/adminops.rst39
1 files changed, 39 insertions, 0 deletions
diff --git a/doc/radosgw/adminops.rst b/doc/radosgw/adminops.rst
index 50d9870775a..460292be0cd 100644
--- a/doc/radosgw/adminops.rst
+++ b/doc/radosgw/adminops.rst
@@ -13,6 +13,8 @@ Get Usage
Request bandwidth usage information.
+:caps: usage=read
+
Syntax
~~~~~~
@@ -161,6 +163,8 @@ Trim Usage
Remove usage information. With no dates specified, removes all usage
information.
+:caps: usage=write
+
Syntax
~~~~~~
@@ -214,6 +218,8 @@ Get User Info
Get user information. If no user is specified returns the list of all users along with suspension
information.
+:caps: users=read
+
Syntax
~~~~~~
@@ -308,6 +314,7 @@ generated key is added to the keyring without replacing an existing key pair.
If ``access-key`` is specified and refers to an existing key owned by the user
then it will be modified.
+:caps: users=write
Syntax
~~~~~~
@@ -501,6 +508,8 @@ Modify User
Modify a user.
+:caps: users=write
+
Syntax
~~~~~~
@@ -686,6 +695,8 @@ Remove User
Remove an existing user.
+:caps: users=write
+
Syntax
~~~~~~
@@ -733,6 +744,8 @@ granted permissions by specifying ``access``. As with user creation if
``subuser`` is specified without ``secret``, then a secret key will
be automatically generated.
+:caps: users=write
+
Syntax
~~~~~~
@@ -840,6 +853,8 @@ Modify Subuser
Modify an existing subuser
+:caps: users=write
+
Syntax
~~~~~~
@@ -943,6 +958,8 @@ Remove Subuser
Remove an existing subuser
+:caps: users=write
+
Syntax
~~~~~~
@@ -1000,6 +1017,8 @@ type as the key created. Note that when creating a swift key, specifying the opt
``access-key`` will have no effect. Additionally, only one swift key may be held by
each user or subuser.
+:caps: users=write
+
Syntax
~~~~~~
@@ -1116,6 +1135,8 @@ Remove Key
Remove an existing key.
+:caps: users=write
+
Syntax
~~~~~~
@@ -1175,6 +1196,8 @@ without ``bucket`` then all buckets beloning to the user will be returned. If
``bucket`` alone is specified, information for that particular bucket will be
retrieved.
+:caps: buckets=read
+
Syntax
~~~~~~
@@ -1286,6 +1309,8 @@ Check Bucket Index
Check the index of an existing bucket. NOTE: to check multipart object
accounting with ``check-objects``, ``fix`` must be set to True.
+:caps: buckets=write
+
Syntax
~~~~~~
@@ -1340,6 +1365,8 @@ Remove Bucket
Delete an existing bucket.
+:caps: buckets=write
+
Syntax
~~~~~~
@@ -1391,6 +1418,8 @@ Unlink Bucket
Unlink a bucket from a specified user. Primarily useful for changing
bucket ownership.
+:caps: buckets=write
+
Syntax
~~~~~~
@@ -1436,6 +1465,8 @@ Link Bucket
Link a bucket to a specified user, unlinking the bucket from
any previous user.
+:caps: buckets=write
+
Syntax
~~~~~~
@@ -1530,6 +1561,8 @@ Remove Object
Remove an existing object. NOTE: Does not require owner to be non-suspended.
+:caps: buckets=write
+
Syntax
~~~~~~
@@ -1580,6 +1613,8 @@ Get Bucket or Object Policy
Read the policy of an object or bucket.
+:caps: buckets=read
+
Syntax
~~~~~~
@@ -1630,6 +1665,8 @@ Add A User Capability
Add an administrative capability to a specified user.
+:caps: users=write
+
Syntax
~~~~~~
@@ -1705,6 +1742,8 @@ Remove A User Capability
Remove an administrative capability from a specified user.
+:caps: users=write
+
Syntax
~~~~~~