2014-12-23 11:43:02 +08:00
|
|
|
===============
|
|
|
|
role assignment
|
|
|
|
===============
|
|
|
|
|
2016-04-29 23:59:27 +01:00
|
|
|
Identity v2, v3
|
2014-12-23 11:43:02 +08:00
|
|
|
|
|
|
|
role assignment list
|
|
|
|
--------------------
|
|
|
|
|
|
|
|
List role assignments
|
|
|
|
|
|
|
|
.. program:: role assignment list
|
|
|
|
.. code:: bash
|
|
|
|
|
2016-12-20 09:18:55 +08:00
|
|
|
openstack role assignment list
|
2014-12-23 11:43:02 +08:00
|
|
|
[--role <role>]
|
2016-02-23 11:42:40 +00:00
|
|
|
[--role-domain <role-domain>]
|
2014-12-23 11:43:02 +08:00
|
|
|
[--user <user>]
|
2015-07-31 18:56:34 -07:00
|
|
|
[--user-domain <user-domain>]
|
2014-12-23 11:43:02 +08:00
|
|
|
[--group <group>]
|
2015-07-31 18:56:34 -07:00
|
|
|
[--group-domain <group-domain>]
|
2014-12-23 11:43:02 +08:00
|
|
|
[--domain <domain>]
|
|
|
|
[--project <project>]
|
2015-07-31 18:56:34 -07:00
|
|
|
[--project-domain <project-domain>]
|
2014-12-23 11:43:02 +08:00
|
|
|
[--effective]
|
2014-09-19 12:29:39 -03:00
|
|
|
[--inherited]
|
2016-04-29 23:59:27 +01:00
|
|
|
[--names]
|
2014-12-23 11:43:02 +08:00
|
|
|
|
|
|
|
.. option:: --role <role>
|
|
|
|
|
|
|
|
Role to filter (name or ID)
|
|
|
|
|
2016-04-29 23:59:27 +01:00
|
|
|
.. versionadded:: 3
|
|
|
|
|
2016-02-23 11:42:40 +00:00
|
|
|
.. option:: --role-domain <role-domain>
|
|
|
|
|
|
|
|
Domain the role belongs to (name or ID).
|
|
|
|
This can be used in case collisions between role names exist.
|
|
|
|
|
|
|
|
.. versionadded:: 3
|
|
|
|
|
2014-12-23 11:43:02 +08:00
|
|
|
.. option:: --user <user>
|
|
|
|
|
|
|
|
User to filter (name or ID)
|
|
|
|
|
2015-07-31 18:56:34 -07:00
|
|
|
.. option:: --user-domain <user-domain>
|
|
|
|
|
|
|
|
Domain the user belongs to (name or ID).
|
|
|
|
This can be used in case collisions between user names exist.
|
|
|
|
|
2016-04-29 23:59:27 +01:00
|
|
|
.. versionadded:: 3
|
|
|
|
|
2014-12-23 11:43:02 +08:00
|
|
|
.. option:: --group <group>
|
|
|
|
|
|
|
|
Group to filter (name or ID)
|
|
|
|
|
2016-04-29 23:59:27 +01:00
|
|
|
.. versionadded:: 3
|
|
|
|
|
2015-07-31 18:56:34 -07:00
|
|
|
.. option:: --group-domain <group-domain>
|
|
|
|
|
|
|
|
Domain the group belongs to (name or ID).
|
|
|
|
This can be used in case collisions between group names exist.
|
|
|
|
|
2016-04-29 23:59:27 +01:00
|
|
|
.. versionadded:: 3
|
|
|
|
|
2014-12-23 11:43:02 +08:00
|
|
|
.. option:: --domain <domain>
|
|
|
|
|
|
|
|
Domain to filter (name or ID)
|
|
|
|
|
2016-04-29 23:59:27 +01:00
|
|
|
.. versionadded:: 3
|
|
|
|
|
2014-12-23 11:43:02 +08:00
|
|
|
.. option:: --project <project>
|
|
|
|
|
|
|
|
Project to filter (name or ID)
|
|
|
|
|
2015-07-31 18:56:34 -07:00
|
|
|
.. option:: --project-domain <project-domain>
|
|
|
|
|
|
|
|
Domain the project belongs to (name or ID).
|
|
|
|
This can be used in case collisions between project names exist.
|
|
|
|
|
2016-04-29 23:59:27 +01:00
|
|
|
.. versionadded:: 3
|
|
|
|
|
2014-12-23 11:43:02 +08:00
|
|
|
.. option:: --effective
|
|
|
|
|
|
|
|
Returns only effective role assignments (defaults to False)
|
2014-09-19 12:29:39 -03:00
|
|
|
|
2016-04-29 23:59:27 +01:00
|
|
|
.. versionadded:: 3
|
|
|
|
|
2014-09-19 12:29:39 -03:00
|
|
|
.. option:: --inherited
|
|
|
|
|
|
|
|
Specifies if the role grant is inheritable to the sub projects
|
2015-12-09 10:08:16 -06:00
|
|
|
|
2016-04-29 23:59:27 +01:00
|
|
|
.. versionadded:: 3
|
|
|
|
|
2015-12-09 10:08:16 -06:00
|
|
|
.. option:: --names
|
|
|
|
|
|
|
|
Returns role assignments with names instead of IDs
|
2016-04-29 23:59:27 +01:00
|
|
|
|
|
|
|
.. option:: --auth-user
|
|
|
|
|
|
|
|
Returns role assignments for the authenticated user.
|
|
|
|
|
|
|
|
.. option:: --auth-project
|
|
|
|
|
|
|
|
Returns role assignments for the project to which the authenticated user
|
|
|
|
is scoped.
|