{{#if (or (eq policyType "acl") (has-feature "Sentinel"))}}

{{uppercase policyType}} Policies {{#unless (eq policyType "acl")}} Sentinel {{/unless}}

{{#if model.meta.total}} {{navigate-input filterFocusDidChange=(action "setFilterFocus") filterDidChange=(action "setFilter") filter=filter filterMatchesKey=filterMatchesKey firstPartialMatch=firstPartialMatch extraNavParams=policyType placeholder="Filter policies" mode="policy" }} {{#if filterFocused}} {{#if filterMatchesKey}}

ENTER to go to {{or pageFilter filter}}

{{/if}} {{#if firstPartialMatch}}

TAB to complete {{firstPartialMatch.id}}

{{/if}} {{/if}}
{{/if}} Create {{uppercase policyType}} policy
{{#if model.meta.total}} {{#each model as |item|}} {{#if (eq item.id "root")}}
{{else}} {{#linked-block "vault.cluster.policy.show" policyType item.id class="list-item-row" data-test-policy-link=item.id }}
{{#link-to "vault.cluster.policy.show" policyType item.id class="has-text-black has-text-weight-semibold" data-test-policy-item=true }}
{{/linked-block}} {{/if}} {{else}} {{/each}} {{#if (gt model.meta.lastPage 1) }} {{list-pagination page=model.meta.currentPage lastPage=model.meta.lastPage link="vault.cluster.policies.index" }} {{/if}} {{else}} {{#link-to "vault.cluster.policies.create" class="link"}} Create {{uppercase policyType}} policy {{/link-to}} Learn more {{/if}} {{else}} {{upgrade-page title="Sentinel" minimumEdition="Vault Enterprise Premium"}} {{/if}}