2018-05-24 03:10:21 +00:00
|
|
|
{{#each model.policies as |policyName|}}
|
2018-04-03 14:16:57 +00:00
|
|
|
{{#linked-block
|
|
|
|
"vault.cluster.policy.show"
|
|
|
|
"acl"
|
|
|
|
item
|
|
|
|
class="box is-sideless is-marginless"
|
|
|
|
}}
|
|
|
|
<div class="columns is-mobile">
|
|
|
|
<div class="column is-10">
|
2018-05-24 03:10:21 +00:00
|
|
|
<a href={{href-to "vault.cluster.policy.show" "acl" policyName}}
|
|
|
|
class="is-block has-text-black has-text-weight-semibold"
|
|
|
|
><span class="is-underline">{{policyName}}</span>
|
2018-04-03 14:16:57 +00:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div class="column has-text-right">
|
2018-05-24 03:10:21 +00:00
|
|
|
{{#if model.canEdit}}
|
|
|
|
{{identity/popup-policy params=(array model policyName)}}
|
|
|
|
{{/if}}
|
2018-04-03 14:16:57 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/linked-block}}
|
|
|
|
{{else}}
|
|
|
|
<div class="box is-bottomless has-background-white-bis">
|
|
|
|
<div class="columns is-centered">
|
|
|
|
<div class="column is-half has-text-centered">
|
|
|
|
<div class="box is-shadowless has-background-white-bis">
|
|
|
|
<p class="has-text-grey" data-test-no-entity-aliases-text>
|
|
|
|
There are no policies associated with {{model.name}}.
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/each}}
|
|
|
|
|