Merge pull request #1697 from hashicorp/issue-1695

Make `capabilities-self` part of the default policy.
This commit is contained in:
Jeff Mitchell 2016-08-08 10:00:45 -04:00 committed by GitHub
commit 42030ffde2

View File

@ -296,6 +296,10 @@ path "cubbyhole/*" {
path "cubbyhole" { path "cubbyhole" {
capabilities = ["list"] capabilities = ["list"]
} }
path "sys/capabilities-self" {
capabilities = ["update"]
}
`) `)
if err != nil { if err != nil {
return errwrap.Wrapf("error parsing default policy: {{err}}", err) return errwrap.Wrapf("error parsing default policy: {{err}}", err)