f58b79db7f
* Remove upgrade-link component * Hide enterprrise links from OSS * Don't show sidebar if they can't use the options
50 lines
1.7 KiB
Handlebars
50 lines
1.7 KiB
Handlebars
<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}}
|
|
{{/menu-sidebar}}
|
|
<div class="column is-9">
|
|
{{outlet}}
|
|
</div>
|
|
</div>
|