open-vault/ui/app/templates/vault/cluster/access.hbs

50 lines
1.7 KiB
Handlebars
Raw Normal View History

2018-04-03 14:16:57 +00:00
<div class="columns">
{{#menu-sidebar title="Access" class="is-3" data-test-sidebar=true}}
{{#if (has-permission "access" routeParams="methods")}}
<li>
{{#link-to "vault.cluster.access.methods" data-test-link=true current-when="vault.cluster.access.methods vault.cluster.access.method"}}
Auth Methods
{{/link-to}}
</li>
{{/if}}
{{#if (has-permission "access" routeParams="entities")}}
<li>
{{#link-to "vault.cluster.access.identity" "entities" data-test-link=true }}
Entities
{{/link-to}}
</li>
{{/if}}
{{#if (has-permission "access" routeParams="groups")}}
<li>
{{#link-to "vault.cluster.access.identity" "groups" data-test-link=true }}
Groups
{{/link-to}}
</li>
{{/if}}
{{#if (has-permission "access" routeParams="leases")}}
<li>
{{#link-to "vault.cluster.access.leases" data-test-link=true}}
Leases
{{/link-to}}
</li>
{{/if}}
{{#if (and (has-feature "Namespaces") (has-permission "access" routeParams="namespaces"))}}
<li>
{{#link-to "vault.cluster.access.namespaces" data-test-link=true }}
Namespaces
{{/link-to}}
</li>
{{/if}}
{{#if (and (has-feature "Control Groups") (has-permission "access" routeParams="control-groups"))}}
<li>
{{#link-to "vault.cluster.access.control-groups" data-test-link=true current-when="vault.cluster.access.control-groups vault.cluster.access.control-group-accessor vault.cluster.access.control-groups-configure"}}
Control Groups
{{/link-to}}
</li>
{{/if}}
2018-04-03 14:16:57 +00:00
{{/menu-sidebar}}
<div class="column is-9">
{{outlet}}
</div>
</div>