Fix typo in security docs around is_admin rule

The security docs give an example of how to enable admins to show
passwords via the API, but the policy guidance is wrong. There is no
"is_admin" _role_, it is instead a _rule_.

Change-Id: Ic14ebc04f01bece1460f6244ec2dd88c8dd00b0e
This commit is contained in:
Jason Anderson 2021-03-30 14:56:52 -05:00
parent 34b2183862
commit 7813fe8888
No known key found for this signature in database
GPG Key ID: 9207452BF63947DD

View File

@ -44,7 +44,7 @@ operators significant control over API access:
in ``driver_info`` unmasked for users with administrative privileges, apply in ``driver_info`` unmasked for users with administrative privileges, apply
following changes to policy configuration file:: following changes to policy configuration file::
"show_password": "role:is_admin" "show_password": "rule:is_admin"
And restart the Bare Metal API service to take effect. Please check And restart the Bare Metal API service to take effect. Please check
:doc:`/configuration/policy` for more details. :doc:`/configuration/policy` for more details.