2018-05-24 03:10:21 +00:00
|
|
|
{{#each model.policies as |policyName|}}
|
2018-07-10 19:38:02 +00:00
|
|
|
{{#linked-block
|
2018-04-03 14:16:57 +00:00
|
|
|
"vault.cluster.policy.show"
|
|
|
|
"acl"
|
|
|
|
item
|
2018-07-10 19:38:02 +00:00
|
|
|
class="list-item-row"
|
2018-04-03 14:16:57 +00:00
|
|
|
}}
|
|
|
|
<div class="columns is-mobile">
|
|
|
|
<div class="column is-10">
|
2018-08-16 17:48:24 +00:00
|
|
|
{{#link-to "vault.cluster.policy.show" "acl" policyName
|
2018-05-24 03:10:21 +00:00
|
|
|
class="is-block has-text-black has-text-weight-semibold"
|
2018-08-16 17:48:24 +00:00
|
|
|
}}<span class="is-underline">{{policyName}}</span>
|
|
|
|
{{/link-to}}
|
2018-04-03 14:16:57 +00:00
|
|
|
</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>
|
2018-07-10 19:38:02 +00:00
|
|
|
{{/linked-block}}
|
2018-04-03 14:16:57 +00:00
|
|
|
{{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}}
|