{{! 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}} {{else}} {{/if}} {{#if (can 'create model' @model collection='accounts')}} {{/if}} {{#if (can 'create model' @model collection='managed-groups')}} {{#if (or @model.isOIDC @model.isLDAP)}} {{/if}} {{/if}} {{#if (can 'delete auth-method' @model)}} {{/if}}