mirror of https://github.com/status-im/consul.git
feat: copy edits for built-in policy alert (#18655)
This commit is contained in:
parent
22df51f18f
commit
a2f3d1362a
|
@ -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