Updated policy format to use capabilities keyword (#3063)

The `policy` key name is deprecated and has been replaced with `capabilities`.
This commit is contained in:
Jonathan Duncan 2017-07-26 12:05:11 -06:00 committed by Jeff Mitchell
parent 40c1c93937
commit 8e9f54fc70

View file

@ -31,15 +31,15 @@ policy is shown below:
```javascript
path "secret/*" {
policy = "write"
capabilities = ["write"]
}
path "secret/foo" {
policy = "read"
capabilities = ["read"]
}
path "auth/token/lookup-self" {
policy = "read"
capabilities = ["read"]
}
```