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.
This commit is contained in:
adawalli 2019-02-08 15:39:29 -05:00 committed by kaitlincarter-hc
parent fc1d9e5d78
commit d7e4151fcb
1 changed files with 1 additions and 1 deletions

View File

@ -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