Do not root protect role configurations

This commit is contained in:
Armon Dadgar
2015-04-27 14:07:20 -07:00
parent 3330d43d44
commit aaf10cd624
8 changed files with 8 additions and 16 deletions

View File

@@ -20,7 +20,6 @@ func Backend() *framework.Backend {
PathsSpecial: &logical.Paths{ PathsSpecial: &logical.Paths{
Root: []string{ Root: []string{
"config/*", "config/*",
"policy/*",
}, },
}, },

View File

@@ -15,7 +15,6 @@ func Backend() *framework.Backend {
PathsSpecial: &logical.Paths{ PathsSpecial: &logical.Paths{
Root: []string{ Root: []string{
"config/*", "config/*",
"roles/*",
}, },
}, },

View File

@@ -23,7 +23,6 @@ func Backend() *framework.Backend {
PathsSpecial: &logical.Paths{ PathsSpecial: &logical.Paths{
Root: []string{ Root: []string{
"config/*", "config/*",
"roles/*",
}, },
}, },

View File

@@ -22,7 +22,6 @@ func Backend() *framework.Backend {
PathsSpecial: &logical.Paths{ PathsSpecial: &logical.Paths{
Root: []string{ Root: []string{
"config/*", "config/*",
"roles/*",
}, },
}, },

View File

@@ -190,7 +190,6 @@ interactive help output.
<dt>Description</dt> <dt>Description</dt>
<dd> <dd>
Creates or updates a named policy. Creates or updates a named policy.
This is a root protected endpoint.
</dd> </dd>
<dt>Method</dt> <dt>Method</dt>
@@ -222,7 +221,6 @@ interactive help output.
<dt>Description</dt> <dt>Description</dt>
<dd> <dd>
Queries a named policy. Queries a named policy.
This is a root protected endpoint.
</dd> </dd>
<dt>Method</dt> <dt>Method</dt>
@@ -256,7 +254,6 @@ interactive help output.
<dt>Description</dt> <dt>Description</dt>
<dd> <dd>
Deletes a named policy. Deletes a named policy.
This is a root protected endpoint.
</dd> </dd>
<dt>Method</dt> <dt>Method</dt>

View File

@@ -127,7 +127,6 @@ Permission denied
<dt>Description</dt> <dt>Description</dt>
<dd> <dd>
Creates or updates the Consul role definition. Creates or updates the Consul role definition.
This is a root protected endpoint.
</dd> </dd>
<dt>Method</dt> <dt>Method</dt>
@@ -158,7 +157,7 @@ Permission denied
<dl class="api"> <dl class="api">
<dt>Description</dt> <dt>Description</dt>
<dd> <dd>
Queries a Consul role definition. This is a root protected endpoint. Queries a Consul role definition.
</dd> </dd>
<dt>Method</dt> <dt>Method</dt>
@@ -191,7 +190,7 @@ Permission denied
<dl class="api"> <dl class="api">
<dt>Description</dt> <dt>Description</dt>
<dd> <dd>
Deletes a Consul role definition. This is a root protected endpoint. Deletes a Consul role definition.
</dd> </dd>
<dt>Method</dt> <dt>Method</dt>

View File

@@ -183,7 +183,7 @@ allowed to read.
<dl class="api"> <dl class="api">
<dt>Description</dt> <dt>Description</dt>
<dd> <dd>
Creates or updates the role definition. This is a root protected endpoint. Creates or updates the role definition.
</dd> </dd>
<dt>Method</dt> <dt>Method</dt>
@@ -216,7 +216,7 @@ allowed to read.
<dl class="api"> <dl class="api">
<dt>Description</dt> <dt>Description</dt>
<dd> <dd>
Queries the role definition. This is a root protected endpoint. Queries the role definition.
</dd> </dd>
<dt>Method</dt> <dt>Method</dt>
@@ -250,7 +250,7 @@ allowed to read.
<dl class="api"> <dl class="api">
<dt>Description</dt> <dt>Description</dt>
<dd> <dd>
Deletes the role definition. This is a root protected endpoint. Deletes the role definition.
</dd> </dd>
<dt>Method</dt> <dt>Method</dt>

View File

@@ -189,7 +189,7 @@ subpath for interactive help output.
<dl class="api"> <dl class="api">
<dt>Description</dt> <dt>Description</dt>
<dd> <dd>
Creates or updates the role definition. This is a root protected endpoint. Creates or updates the role definition.
</dd> </dd>
<dt>Method</dt> <dt>Method</dt>
@@ -222,7 +222,7 @@ subpath for interactive help output.
<dl class="api"> <dl class="api">
<dt>Description</dt> <dt>Description</dt>
<dd> <dd>
Queries the role definition. This is a root protected endpoint. Queries the role definition.
</dd> </dd>
<dt>Method</dt> <dt>Method</dt>
@@ -256,7 +256,7 @@ subpath for interactive help output.
<dl class="api"> <dl class="api">
<dt>Description</dt> <dt>Description</dt>
<dd> <dd>
Deletes the role definition. This is a root protected endpoint. Deletes the role definition.
</dd> </dd>
<dt>Method</dt> <dt>Method</dt>