{{! Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: BUSL-1.1 }} {{#if (or @model.isOIDC @model.isLDAP)}} {{#each @model.options.state as |state|}} {{/each}} {{/if}} {{#if @model.isPrimary}} {{t 'resources.auth-method.actions.remove-as-primary'}} {{else}} {{t 'resources.auth-method.actions.make-primary'}} {{/if}} {{#if (can 'create model' @model collection='accounts')}} {{t 'resources.account.actions.create'}} {{/if}} {{#if (can 'create model' @model collection='managed-groups')}} {{#if (or @model.isOIDC @model.isLDAP)}} {{t 'resources.managed-group.actions.create'}} {{/if}} {{/if}} {{#if (can 'delete auth-method' @model)}} {{t 'resources.auth-method.actions.delete'}} {{/if}}