Skip to content

Commit

Permalink
website: Update UI Policy recommendations from Guide (#5321)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
adawalli authored and kaitlincart committed Feb 8, 2019
1 parent fc1d9e5 commit d7e4151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/source/docs/guides/acl.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d7e4151

Please sign in to comment.