summaryrefslogtreecommitdiff
path: root/doc/source/cli/command-objects/role.rst
diff options
context:
space:
mode:
authorVishakha Agarwal <agarwalvishakha18@gmail.com>2020-03-26 22:23:57 +0530
committerVishakha Agarwal <agarwalvishakha18@gmail.com>2020-04-08 13:51:01 +0000
commit7f66273d3f2fb6449d7b50d88460ace0cb81bf30 (patch)
tree78e639f02b4d8bda23f15823ecfc4a80d9e8b66b /doc/source/cli/command-objects/role.rst
parent05da145eaee329e299b449ba2d7ea88d1325e432 (diff)
downloadpython-openstackclient-7f66273d3f2fb6449d7b50d88460ace0cb81bf30.tar.gz
Add resource option immutable
This patch adds the --immutable and --no-immutable option to the role, project and domain CLI. Related-Patch: https://review.opendev.org/#/c/712182/ Change-Id: I9c3bdd741f28bf558267fb217818d947597ce13e
Diffstat (limited to 'doc/source/cli/command-objects/role.rst')
-rw-r--r--doc/source/cli/command-objects/role.rst20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/source/cli/command-objects/role.rst b/doc/source/cli/command-objects/role.rst
index 752dc4e0..f9fd28eb 100644
--- a/doc/source/cli/command-objects/role.rst
+++ b/doc/source/cli/command-objects/role.rst
@@ -97,6 +97,7 @@ Create new role
openstack role create
[--or-show]
[--domain <domain>]
+ [--immutable | --no-immutable]
<name>
.. option:: --domain <domain>
@@ -119,6 +120,15 @@ Create new role
Add description about the role
+.. option:: --immutable
+
+ Make role immutable. An immutable role may not be deleted or modified
+ except to remove the immutable flag
+
+.. option:: --no-immutable
+
+ Make role mutable (default)
+
role delete
-----------
@@ -253,6 +263,7 @@ Set role properties
openstack role set
[--name <name>]
[--domain <domain>]
+ [--immutable | --no-immutable]
<role>
.. option:: --name <name>
@@ -269,6 +280,15 @@ Set role properties
Role to modify (name or ID)
+.. option:: --immutable
+
+ Make role immutable. An immutable role may not be deleted or modified
+ except to remove the immutable flag
+
+.. option:: --no-immutable
+
+ Make role mutable (default)
+
role show
---------