Skip to content

Commit

Permalink
Merge pull request #1023 from hashicorp/cubbyhole-list-default-policy
Browse files Browse the repository at this point in the history
Add listing of cubbyhole's root to the default policy.
  • Loading branch information
jefferai committed Feb 3, 2016
2 parents 37a63e6 + 4a0a811 commit 2c09b0c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vault/policy_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,10 @@ path "auth/token/revoke-self" {
path "cubbyhole/*" {
capabilities = ["create", "read", "update", "delete", "list"]
}
path "cubbyhole" {
capabilities = ["list"]
}
`)
if err != nil {
return errwrap.Wrapf("error parsing default policy: {{err}}", err)
Expand Down

0 comments on commit 2c09b0c

Please sign in to comment.