mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-30 19:11:09 +02:00
Merge pull request #1697 from hashicorp/issue-1695
Make `capabilities-self` part of the default policy.
This commit is contained in:
commit
42030ffde2
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user