From 9bfc9f3fbcee11df2a5d3986bf1b5e42d63f5987 Mon Sep 17 00:00:00 2001 From: hc-github-team-secure-vault-core <82990506+hc-github-team-secure-vault-core@users.noreply.github.com> Date: Mon, 10 Apr 2023 20:22:44 -0400 Subject: [PATCH] backport of commit 4aca4e88bcff787e967c921d931bec77b924a844 (#20071) Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com> --- changelog/20070.txt | 3 +++ ui/app/templates/components/keymgmt/distribute.hbs | 6 +++--- .../components/mfa/mfa-login-enforcement-header.hbs | 2 +- ui/app/templates/components/oidc/scope-form.hbs | 2 +- ui/app/templates/components/pki/config-pki-ca.hbs | 2 +- ui/app/templates/components/secret-form-show.hbs | 4 ++-- ui/app/templates/vault.hbs | 2 +- ui/app/templates/vault/cluster/access/method/section.hbs | 2 +- .../templates/vault/cluster/access/mfa/methods/create.hbs | 6 +++--- .../vault/cluster/access/oidc/assignments/index.hbs | 2 +- ui/app/templates/vault/cluster/access/oidc/scopes/index.hbs | 2 +- .../vault/cluster/secrets/backend/edit-metadata.hbs | 2 +- ui/lib/core/addon/components/doc-link.js | 2 +- .../addon/templates/components/swagger-ui.hbs | 2 +- .../replication/addon/templates/mode/secondaries/index.hbs | 2 +- 15 files changed, 22 insertions(+), 19 deletions(-) create mode 100644 changelog/20070.txt diff --git a/changelog/20070.txt b/changelog/20070.txt new file mode 100644 index 000000000000..34e6e5540d69 --- /dev/null +++ b/changelog/20070.txt @@ -0,0 +1,3 @@ +```release-note:bug +ui: fixes remaining doc links to include /vault in path +``` \ No newline at end of file diff --git a/ui/app/templates/components/keymgmt/distribute.hbs b/ui/app/templates/components/keymgmt/distribute.hbs index 567f7c6d127d..50bbf6bdd0a6 100644 --- a/ui/app/templates/components/keymgmt/distribute.hbs +++ b/ui/app/templates/components/keymgmt/distribute.hbs @@ -20,7 +20,7 @@ {{this.validMatchError.key}} To check compatibility, - refer to this table. + refer to this table. {{/if}} @@ -54,7 +54,7 @@ {{this.validMatchError.key}} To check compatibility, - refer to this table. + refer to this table. {{/if}} @@ -81,7 +81,7 @@ {{this.validMatchError.provider}} To check compatibility, - refer to this table. + refer to this table. {{/if}} diff --git a/ui/app/templates/components/mfa/mfa-login-enforcement-header.hbs b/ui/app/templates/components/mfa/mfa-login-enforcement-header.hbs index f398d5fe21f9..e44a944f1fe6 100644 --- a/ui/app/templates/components/mfa/mfa-login-enforcement-header.hbs +++ b/ui/app/templates/components/mfa/mfa-login-enforcement-header.hbs @@ -31,7 +31,7 @@ An enforcement will define which auth types, auth mounts, groups, and/or entities will require this MFA method. Keep in mind that only one of these conditions needs to be satisfied. For example, if an authentication method is added here, all entities and groups which make use of that authentication method will be subject to an MFA request. - Learn more here. + Learn more here. {{/if}}

{{#if @isInline}} diff --git a/ui/app/templates/components/oidc/scope-form.hbs b/ui/app/templates/components/oidc/scope-form.hbs index 108aa8e45b73..cacff831dd29 100644 --- a/ui/app/templates/components/oidc/scope-form.hbs +++ b/ui/app/templates/components/oidc/scope-form.hbs @@ -100,7 +100,7 @@ {{/if}}

The full list of template parameters can be found - + here.

diff --git a/ui/app/templates/components/pki/config-pki-ca.hbs b/ui/app/templates/components/pki/config-pki-ca.hbs index f749f241f476..33408972da80 100644 --- a/ui/app/templates/components/pki/config-pki-ca.hbs +++ b/ui/app/templates/components/pki/config-pki-ca.hbs @@ -252,7 +252,7 @@
Deleting a CA is only available via the CLI and API. - + Learn more
diff --git a/ui/app/templates/components/secret-form-show.hbs b/ui/app/templates/components/secret-form-show.hbs index cf6c99fb8cd2..0454af985bb2 100644 --- a/ui/app/templates/components/secret-form-show.hbs +++ b/ui/app/templates/components/secret-form-show.hbs @@ -3,7 +3,7 @@ @title="Version {{@modelForData.version}} of this secret has been permanently destroyed" @message="A version that has been permanently deleted cannot be restored. You can see other versions of this secret in the History menu." > - + Learn more @@ -13,7 +13,7 @@ @message="A version that has been deleted but can be undeleted using the Version {{@modelForData.version}} menu above. You can also see other versions of this secret in the History menu." > - + Learn more diff --git a/ui/app/templates/vault.hbs b/ui/app/templates/vault.hbs index ac169064c820..2dee11a921f5 100644 --- a/ui/app/templates/vault.hbs +++ b/ui/app/templates/vault.hbs @@ -20,7 +20,7 @@ {{/if}} - + Documentation diff --git a/ui/app/templates/vault/cluster/access/method/section.hbs b/ui/app/templates/vault/cluster/access/method/section.hbs index a92c33d3e69a..bb1c8945e1a7 100644 --- a/ui/app/templates/vault/cluster/access/method/section.hbs +++ b/ui/app/templates/vault/cluster/access/method/section.hbs @@ -21,7 +21,7 @@ {{#if (not (includes this.model.type (supported-managed-auth-backends)))}}
The Vault UI only supports configuration for this authentication method. For management, the - API or CLI + API or CLI should be used.
{{/if}} diff --git a/ui/app/templates/vault/cluster/access/mfa/methods/create.hbs b/ui/app/templates/vault/cluster/access/mfa/methods/create.hbs index 9b75d119f9da..18d6093321e3 100644 --- a/ui/app/templates/vault/cluster/access/mfa/methods/create.hbs +++ b/ui/app/templates/vault/cluster/access/mfa/methods/create.hbs @@ -28,7 +28,7 @@

Settings

{{this.description}} - Learn more. + Learn more.

Multi-factor authentication (MFA) allows you to set up another layer of security on top of existing authentication methods. Vault has four available methods. - Learn more. + Learn more.

{{#each this.methodNames as |methodName|}} @@ -77,7 +77,7 @@ {{#if this.type}}

{{this.description}} - Learn more. + Learn more.

{{! in a future release cards may be displayed to choose from either template or custom config for TOTP }} {{! if template is selected a user could choose a predefined config for common authenticators and the values would be populated on the model }} diff --git a/ui/app/templates/vault/cluster/access/oidc/assignments/index.hbs b/ui/app/templates/vault/cluster/access/oidc/assignments/index.hbs index 8def631f1af8..e54a03561738 100644 --- a/ui/app/templates/vault/cluster/access/oidc/assignments/index.hbs +++ b/ui/app/templates/vault/cluster/access/oidc/assignments/index.hbs @@ -23,7 +23,7 @@ {{#if (eq model.name "allow_all")}}
This is a built-in assignment that cannot be modified or deleted. - + Learn more
diff --git a/ui/app/templates/vault/cluster/access/oidc/scopes/index.hbs b/ui/app/templates/vault/cluster/access/oidc/scopes/index.hbs index ad5cfe86021c..02a4c6970fa2 100644 --- a/ui/app/templates/vault/cluster/access/oidc/scopes/index.hbs +++ b/ui/app/templates/vault/cluster/access/oidc/scopes/index.hbs @@ -59,7 +59,7 @@

Use scope to define identity information about the authenticated user. - + Learn more.

diff --git a/ui/app/templates/vault/cluster/secrets/backend/edit-metadata.hbs b/ui/app/templates/vault/cluster/secrets/backend/edit-metadata.hbs index 293c07111ae2..a6173a682785 100644 --- a/ui/app/templates/vault/cluster/secrets/backend/edit-metadata.hbs +++ b/ui/app/templates/vault/cluster/secrets/backend/edit-metadata.hbs @@ -15,6 +15,6 @@ View Metadata - More here + More here {{/if}} \ No newline at end of file diff --git a/ui/lib/core/addon/components/doc-link.js b/ui/lib/core/addon/components/doc-link.js index ef326348111d..7b465be3841b 100644 --- a/ui/lib/core/addon/components/doc-link.js +++ b/ui/lib/core/addon/components/doc-link.js @@ -6,7 +6,7 @@ import ExternalLink from './external-link'; * * @example * ```js - Learn about KV v2 + Learn about KV v2 * ``` * * @param {string} path="/" - The path to documentation on developer.hashicorp.com that the component should link to. diff --git a/ui/lib/open-api-explorer/addon/templates/components/swagger-ui.hbs b/ui/lib/open-api-explorer/addon/templates/components/swagger-ui.hbs index 18ee47292fa1..b6fd3b95fda8 100644 --- a/ui/lib/open-api-explorer/addon/templates/components/swagger-ui.hbs +++ b/ui/lib/open-api-explorer/addon/templates/components/swagger-ui.hbs @@ -31,7 +31,7 @@ X-Vault-Namespace: {{R.namespace.path}}. You can also use {{R.namespace.path}} as an API prefix. See - docs + docs for examples.
diff --git a/ui/lib/replication/addon/templates/mode/secondaries/index.hbs b/ui/lib/replication/addon/templates/mode/secondaries/index.hbs index 97f8cd40ab3e..6c4584eac37f 100644 --- a/ui/lib/replication/addon/templates/mode/secondaries/index.hbs +++ b/ui/lib/replication/addon/templates/mode/secondaries/index.hbs @@ -71,7 +71,7 @@ Add secondary {{/if}} - + Learn more