{{! 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'))}} {{#if (eq (policy/typeof item) 'policy-management')}} Management This global-management token is built into Consul's policy system. You can apply this special policy to tokens for full access. This policy is not editable or removeable, but can be ignored by not applying it to any tokens. {{else}} Built-in policy This global-read-only policy is built into Consul's policy system. You can apply this special policy to tokens for read-only access to all Consul components. This policy is not editable or removable, but can be ignored by not applying it to any tokens. {{/if}}
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}}