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:
parent
34b2183862
commit
7813fe8888
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user