mirror of https://github.com/status-im/consul.git
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:
parent
fc1d9e5d78
commit
d7e4151fcb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue