Skip to content

Commit aefddf3

Browse files
committed
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
1 parent 8bfa180 commit aefddf3

1 file changed

Lines changed: 20 additions & 2 deletions

File tree

doc/source/cli/command-objects/role.rst

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,21 @@ Add role assignment to a user or group in a project or domain
1313
.. code:: bash
1414
1515
openstack role add
16-
--domain <domain> | --project <project> [--project-domain <project-domain>]
16+
--system <system> | --domain <domain> | --project <project> [--project-domain <project-domain>]
1717
--user <user> [--user-domain <user-domain>] | --group <group> [--group-domain <group-domain>]
1818
--role-domain <role-domain>
1919
--inherited
2020
<role>
2121
22+
.. option:: --system <system>
23+
24+
Include <system>
25+
26+
System or service to grant authorization to. Currently only ``all`` is
27+
supported which encompasses the entire deployment system.
28+
29+
.. versionadded:: 3
30+
2231
.. option:: --domain <domain>
2332

2433
Include <domain> (name or ID)
@@ -210,12 +219,21 @@ Remove role assignment from domain/project : user/group
210219
.. code:: bash
211220
212221
openstack role remove
213-
--domain <domain> | --project <project> [--project-domain <project-domain>]
222+
--system <system> | --domain <domain> | --project <project> [--project-domain <project-domain>]
214223
--user <user> [--user-domain <user-domain>] | --group <group> [--group-domain <group-domain>]
215224
--role-domain <role-domain>
216225
--inherited
217226
<role>
218227
228+
.. option:: --system <system>
229+
230+
Include <system>
231+
232+
System or service to remove authorization from. Currently only ``all`` is
233+
supported which encompasses the entire deployment system.
234+
235+
.. versionadded:: 3
236+
219237
.. option:: --domain <domain>
220238

221239
Include <domain> (name or ID)

0 commit comments

Comments
 (0)