<PopupMenu @name="policy-menu">
<nav class="menu">
<ul class="menu-list">
<li class="action">
<LinkTo @route="vault.cluster.policy.show" @models={{array "acl" policyName}}>
View Policy
</LinkTo>
</li>
<LinkTo @route="vault.cluster.policy.edit" @models={{array "acl" policyName}}>
Edit Policy
<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>
</ul>
</nav>
</PopupMenu>