root protect /sys/revoke-force/* (#2876)

This commit is contained in:
Chris Hoffman 2017-07-25 11:59:43 -04:00 committed by GitHub
parent 5cb87e26ef
commit b89114b011
2 changed files with 2 additions and 0 deletions

View File

@ -67,6 +67,7 @@ func NewSystemBackend(core *Core) *SystemBackend {
"config/auditing/*",
"plugins/catalog/*",
"revoke-prefix/*",
"revoke-force/*",
"leases/revoke-prefix/*",
"leases/revoke-force/*",
"leases/lookup/*",

View File

@ -35,6 +35,7 @@ func TestSystemBackend_RootPaths(t *testing.T) {
"config/auditing/*",
"plugins/catalog/*",
"revoke-prefix/*",
"revoke-force/*",
"leases/revoke-prefix/*",
"leases/revoke-force/*",
"leases/lookup/*",