From 7813fe8888ccafe0a29a1247d9d72eb8d0a134b7 Mon Sep 17 00:00:00 2001
From: Jason Anderson <jasonanderson@uchicago.edu>
Date: Tue, 30 Mar 2021 14:56:52 -0500
Subject: [PATCH] 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
---
 doc/source/admin/security.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/source/admin/security.rst b/doc/source/admin/security.rst
index e70144c0bf..c3b986f6e0 100644
--- a/doc/source/admin/security.rst
+++ b/doc/source/admin/security.rst
@@ -44,7 +44,7 @@ operators significant control over API access:
   in ``driver_info`` unmasked for users with administrative privileges, apply
   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
   :doc:`/configuration/policy` for more details.