summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorLance Bragstad <lbragstad@gmail.com>2018-06-07 15:57:39 +0000
committerLance Bragstad <lbragstad@gmail.com>2018-06-07 15:58:40 +0000
commitaefddf3a90feb8b70ba2b70e3119e83a490b2d59 (patch)
tree348c038f994462e145a11668d719115377026a58 /doc/source
parent8bfa180430354d1db11b11a3443486fe04415443 (diff)
downloadpython-openstackclient-aefddf3a90feb8b70ba2b70e3119e83a490b2d59.tar.gz
Update role document to include system parameter
With the recent addition of system scope support in osc, we should add system docs to the role documentation. bp system-scope Change-Id: Id77511c52ff0c36ea845e0f0fbbe3ec14818ee58
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/cli/command-objects/role.rst22
1 files changed, 20 insertions, 2 deletions
diff --git a/doc/source/cli/command-objects/role.rst b/doc/source/cli/command-objects/role.rst
index fe3126c0..9819fd12 100644
--- a/doc/source/cli/command-objects/role.rst
+++ b/doc/source/cli/command-objects/role.rst
@@ -13,12 +13,21 @@ Add role assignment to a user or group in a project or domain
.. code:: bash
openstack role add
- --domain <domain> | --project <project> [--project-domain <project-domain>]
+ --system <system> | --domain <domain> | --project <project> [--project-domain <project-domain>]
--user <user> [--user-domain <user-domain>] | --group <group> [--group-domain <group-domain>]
--role-domain <role-domain>
--inherited
<role>
+.. option:: --system <system>
+
+ Include <system>
+
+ System or service to grant authorization to. Currently only ``all`` is
+ supported which encompasses the entire deployment system.
+
+ .. versionadded:: 3
+
.. option:: --domain <domain>
Include <domain> (name or ID)
@@ -210,12 +219,21 @@ Remove role assignment from domain/project : user/group
.. code:: bash
openstack role remove
- --domain <domain> | --project <project> [--project-domain <project-domain>]
+ --system <system> | --domain <domain> | --project <project> [--project-domain <project-domain>]
--user <user> [--user-domain <user-domain>] | --group <group> [--group-domain <group-domain>]
--role-domain <role-domain>
--inherited
<role>
+.. option:: --system <system>
+
+ Include <system>
+
+ System or service to remove authorization from. Currently only ``all`` is
+ supported which encompasses the entire deployment system.
+
+ .. versionadded:: 3
+
.. option:: --domain <domain>
Include <domain> (name or ID)