Backport of feat: copy edits for built-in policy alert into release/1.16.x (#18751)
backport of commit bf3963fe0c7ba889d0104c193df3c910e9a9007b Co-authored-by: valeriia-ruban <valeriia.ruban@hashicorp.com>
This commit is contained in:
parent
32dcc15aa8
commit
a04c58a203
|
@ -76,25 +76,15 @@ as |dc partition nspace id item create|}}
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if (or (eq (policy/typeof item) 'policy-management') (eq (policy/typeof item) 'read-only'))}}
|
{{#if (or (eq (policy/typeof item) 'policy-management') (eq (policy/typeof item) 'read-only'))}}
|
||||||
{{#if (eq (policy/typeof item) 'policy-management')}}
|
|
||||||
<Hds::Alert @type="inline" @icon="star-fill" class="mb-3 mt-2" as |A|>
|
|
||||||
<A.Title>Management</A.Title>
|
|
||||||
<A.Description>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.</A.Description>
|
|
||||||
<A.Link::Standalone @text='Learn more'
|
|
||||||
@href="{{env 'CONSUL_DOCS_URL'}}/guides/acl.html#builtin-policies"
|
|
||||||
@icon='docs-link'
|
|
||||||
@iconPosition='trailing' />
|
|
||||||
</Hds::Alert>
|
|
||||||
{{else}}
|
|
||||||
<Hds::Alert @type="inline" @icon="star-fill" class="mb-3 mt-2" as |A|>
|
<Hds::Alert @type="inline" @icon="star-fill" class="mb-3 mt-2" as |A|>
|
||||||
<A.Title>Built-in policy</A.Title>
|
<A.Title>Built-in policy</A.Title>
|
||||||
<A.Description>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.</A.Description>
|
<A.Description>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.
|
||||||
|
</A.Description>
|
||||||
<A.Link::Standalone @text='Learn more'
|
<A.Link::Standalone @text='Learn more'
|
||||||
@href="{{env 'CONSUL_DOCS_URL'}}/guides/acl.html#builtin-policies"
|
@href="{{env 'CONSUL_DOCS_URL'}}/guides/acl.html#builtin-policies"
|
||||||
@icon='docs-link'
|
@icon='docs-link'
|
||||||
@iconPosition='trailing' />
|
@iconPosition='trailing' />
|
||||||
</Hds::Alert>
|
</Hds::Alert>
|
||||||
{{/if}}
|
|
||||||
<div class="definition-table">
|
<div class="definition-table">
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Name</dt>
|
<dt>Name</dt>
|
||||||
|
|
Loading…
Reference in New Issue