{{! Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: BUSL-1.1 }} {{#if (eq loader.error.status '401')}} {{else}} {{/if}} {{#let route.params.dc route.params.partition route.params.nspace (or route.params.id '') loader.data loader.data.isNew as |dc partition nspace id item create|}}
  1. All Policies

{{#if create }} {{else}} {{#if (can "write policy" item=item)}} {{else}} {{/if}} {{/if}}

{{#if (not create) }}
Policy ID
{{/if}} {{#if (or (eq (policy/typeof item) 'policy-management') (eq (policy/typeof item) 'read-only'))}} Built-in policy This policy is built into Consul's ACL system. You can use this special policy by adding it to a token. This policy is not editable or removable, but can be ignored by not applying it to any tokens.
Name
{{item.Name}}
Valid Datacenters
{{ join ', ' (policy/datacenters item)}}
Description
{{item.Description}}
{{#if (gt loader.data.length 0)}} {{/if}} {{else}} {{ partial 'dc/acls/policies/form'}} {{/if}}
{{/let}}