7eff7b51aa
* Refactors ConfirmAction implementation as a popover * Improves copy surrounding consequences of destructive actions * Moves 'Delete' buttons to Toolbar
27 lines
795 B
Handlebars
27 lines
795 B
Handlebars
{{#popup-menu name="policy-menu"}}
|
|
<nav class="menu">
|
|
<ul class="menu-list">
|
|
<li class="action">
|
|
{{#link-to "vault.cluster.policy.show" "acl" policyName}}
|
|
View Policy
|
|
{{/link-to}}
|
|
</li>
|
|
<li class="action">
|
|
{{#link-to "vault.cluster.policy.edit" "acl" policyName}}
|
|
Edit Policy
|
|
{{/link-to}}
|
|
</li>
|
|
<li class="action">
|
|
<ConfirmAction
|
|
@buttonClasses="link is-destroy"
|
|
@confirmButtonText="Remove"
|
|
@confirmMessage="This policy may affect permissions to access Vault data."
|
|
@onConfirmAction={{action "performTransaction" model policyName}}
|
|
>
|
|
Remove from {{model.identityType}}
|
|
</ConfirmAction>
|
|
</li>
|
|
</ul>
|
|
</nav>
|
|
{{/popup-menu}}
|