Make reindex a root path as well

This commit is contained in:
Jeff Mitchell 2017-02-16 23:36:06 -05:00
parent f3bee3550c
commit 4a966726e5
2 changed files with 3 additions and 1 deletions

View File

@ -60,6 +60,7 @@ func NewSystemBackend(core *Core, config *logical.BackendConfig) (logical.Backen
"audit/*",
"raw/*",
"replication/primary/secondary-token",
"replication/reindex",
"rotate",
"config/auditing/*",
},

View File

@ -21,7 +21,8 @@ func TestSystemBackend_RootPaths(t *testing.T) {
"audit",
"audit/*",
"raw/*",
"replication/*",
"replication/primary/secondary-token",
"replication/reindex",
"rotate",
"config/auditing/*",
}