From d7e4151fcb60d6bd22381ad3ee6979fc034cf33b Mon Sep 17 00:00:00 2001 From: adawalli Date: Fri, 8 Feb 2019 15:39:29 -0500 Subject: [PATCH] website: Update UI Policy recommendations from Guide (#5321) The guide currently uses node, service, and service for the UI Policy. This will cause a practically useless UI. This patch uses the _prefix variants instead which will have the intended behavior. --- website/source/docs/guides/acl.html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/source/docs/guides/acl.html.md b/website/source/docs/guides/acl.html.md index 8446b0a428..fd2aeff92d 100644 --- a/website/source/docs/guides/acl.html.md +++ b/website/source/docs/guides/acl.html.md @@ -403,7 +403,7 @@ First create the new policy. ```bash $ consul acl policy create -name "ui-policy" \ -description "Necessary permissions for UI functionality" \ - -rules 'key "" { policy = "write" } node "" { policy = "read" } service "" { policy = "read" }' + -rules 'key_prefix "" { policy = "write" } node_prefix "" { policy = "read" } service_prefix "" { policy = "read" }' ID: 9cb99b2b-3c20-81d4-a7c0-9ffdc2fbf08a Name: ui-policy