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
This commit is contained in:
parent
8bfa180430
commit
aefddf3a90
@ -13,12 +13,21 @@ Add role assignment to a user or group in a project or domain
|
|||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
openstack role add
|
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>]
|
--user <user> [--user-domain <user-domain>] | --group <group> [--group-domain <group-domain>]
|
||||||
--role-domain <role-domain>
|
--role-domain <role-domain>
|
||||||
--inherited
|
--inherited
|
||||||
<role>
|
<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>
|
.. option:: --domain <domain>
|
||||||
|
|
||||||
Include <domain> (name or ID)
|
Include <domain> (name or ID)
|
||||||
@ -210,12 +219,21 @@ Remove role assignment from domain/project : user/group
|
|||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
openstack role remove
|
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>]
|
--user <user> [--user-domain <user-domain>] | --group <group> [--group-domain <group-domain>]
|
||||||
--role-domain <role-domain>
|
--role-domain <role-domain>
|
||||||
--inherited
|
--inherited
|
||||||
<role>
|
<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>
|
.. option:: --domain <domain>
|
||||||
|
|
||||||
Include <domain> (name or ID)
|
Include <domain> (name or ID)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user