UI/fix policy template doclinks (#18443)

* wip tests

* fix links

* Revert "wip tests"

This reverts commit aed9bb9b8f.
This commit is contained in:
claire bontempo 2022-12-16 11:09:21 -08:00 committed by GitHub
parent 0379e56695
commit 8073534b46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 deletions

View file

@ -31,15 +31,14 @@
{{#if (eq this.policy.policyType "acl")}}
<p>
ACL Policies are written in Hashicorp Configuration Language (
<DocLink @host="https://github.com/hashicorp/hcl">HCL</DocLink>
<ExternalLink @href="https://github.com/hashicorp/hcl">HCL</ExternalLink>
) or JSON and describe which paths in Vault a user or machine is allowed to access. Here is an example policy:
</p>
{{else}}
<p class="has-bottom-margin-s">
Role Governing Policies (RGPs) are tied to client tokens or identities which is similar to
<DocLink @host="https://developer.hashicorp.com" @path="/vault/tutorials/policies/policies">ACL policies</DocLink>.
They use
<DocLink @host="https://developer.hashicorp.com" @path="/vault/docs/enterprise/sentinel">Sentinel</DocLink>
<DocLink @path="/vault/tutorials/policies/policies">ACL policies</DocLink>. They use
<DocLink @path="/vault/docs/enterprise/sentinel">Sentinel</DocLink>
as a language framework to enable fine-grained policy decisions.
</p>
<p>

View file

@ -74,7 +74,6 @@
{{uppercase @model.policyType}}
policies can be found
<DocLink
@host="https://developer.hashicorp.com"
@path={{if
(eq @model.policyType "acl")
"/vault/docs/concepts/policies#capabilities"