]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/radosgw: admin.rst - edit sections 55017/head
authorZac Dover <zac.dover@proton.me>
Wed, 27 Dec 2023 12:14:59 +0000 (22:14 +1000)
committerZac Dover <zac.dover@proton.me>
Wed, 27 Dec 2023 14:49:09 +0000 (00:49 +1000)
Edit the following sections in doc/radosgw/admin.rst:

- Get User Info
- Modify User Info
- User Suspend/Enable (I split this into two sections)

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 21ebd2e855a4dd2d2d1244bb3688db0c6613dc30)

doc/radosgw/admin.rst

index bbcf9e218965c95bd25c5b2882020bef02aa2600..e9d5697acc27349bcaf1d39b337ecc8427c711d0 100644 (file)
@@ -136,41 +136,56 @@ For example::
 Get User Info
 -------------
 
-To get information about a user, you must specify ``user info`` and the user ID
-(``--uid={username}``) . :
+To get information about a user, specify ``user info`` and the user ID
+(``--uid={username}``). Use a command of the following form
 
-       radosgw-admin user info --uid=johndoe
+.. prompt:: bash
 
+   radosgw-admin user info --uid=johndoe
 
 
 Modify User Info
 ----------------
 
-To modify information about a user, you must specify the user ID (``--uid={username}``)
-and the attributes you want to modify. Typical modifications are to keys and secrets,
-email addresses, display names and access levels. For example:: 
+To modify information about a user, specify the user ID (``--uid={username}``)
+and the attributes that you want to modify. Typical modifications are made to
+keys and secrets, email addresses, display names, and access levels. Use a
+command of the following form: 
+
+.. prompt:: bash
 
-       radosgw-admin user modify --uid=johndoe --display-name="John E. Doe"
+   radosgw-admin user modify --uid=johndoe --display-name="John E. Doe"
 
-To modify subuser values, specify ``subuser modify``, user ID and the subuser ID. For example::
+To modify subuser values, specify ``subuser modify``, user ID and the subuser
+ID. Use a command of the following form:
 
-       radosgw-admin subuser modify --uid=johndoe --subuser=johndoe:swift --access=full
+.. prompt:: bash
 
+   radosgw-admin subuser modify --uid=johndoe --subuser=johndoe:swift --access=full
 
-User Enable/Suspend
--------------------
 
-When you create a user, the user is enabled by default. However, you may suspend
-user  privileges and re-enable them at a later time. To suspend a user, specify
-``user suspend`` and the user ID. ::
+User Suspend
+------------
 
-       radosgw-admin user suspend --uid=johndoe
+When a user is created, the user is enabled by default. However, it is possible
+to suspend user privileges and to re-enable them at a later time. To suspend a
+user, specify ``user suspend`` and the user ID in a command of the following
+form:
 
-To re-enable a suspended user, specify ``user enable`` and the user ID. :: 
+.. prompt:: bash
+
+   radosgw-admin user suspend --uid=johndoe
+
+User Enable
+-----------
+To re-enable a suspended user, provide ``user enable`` and specify the user ID
+in a command of the following form:
+
+.. prompt:: bash
 
-       radosgw-admin user enable --uid=johndoe
+   radosgw-admin user enable --uid=johndoe
        
-.. note:: Disabling the user disables the subuser.
+.. note:: Disabling the user also disables any subusers.
 
 
 Remove a User