Skip to content

Commit

Permalink
Fix plugin configuration path (#1304)
Browse files Browse the repository at this point in the history
The dashboard has references to an old path that does not exist anymore:
`plugins/opensearch-security/securityconfig/config.yml`.  It was
replaced by `config/opensearch-security/config.yml` in this commit:

opensearch-project/security@b44d7ea

Fix the last occurences of `plugins/opensearch-security/securityconfig`.

Signed-off-by: Romain Tartière <romain@blogreen.org>
Co-authored-by: Stephen Crawford <65832608+scrawfor99@users.noreply.github.com>
  • Loading branch information
smortex and stephen-crawford authored Jan 24, 2023
1 parent 4540d90 commit 82c27c7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ export function InstructionView(props: { config: ClientConfigType }) {
<EuiText textAlign="center" size="xs" color="subdued" className="instruction-text">
In order to use Security plugin, you must decide on authentication <EuiCode>authc</EuiCode>{' '}
and authorization backends <EuiCode>authz</EuiCode>. Use{' '}
<EuiCode>plugins/opensearch-security/securityconfig/config.yml</EuiCode> to define how to
retrieve and verify the user credentials, and how to fetch additional roles from backend
system if needed.
<EuiCode>config/opensearch-security/config.yml</EuiCode> to define how to retrieve and
verify the user credentials, and how to fetch additional roles from backend system if
needed.
</EuiText>

<EuiSpacer />
Expand Down
2 changes: 1 addition & 1 deletion public/apps/configuration/panels/get-started.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const addBackendStep = {
<>
<EuiText size="s" color="subdued">
Add authentication<EuiCode>(authc)</EuiCode>and authorization<EuiCode>(authz)</EuiCode>
information to<EuiCode>plugins/opensearch-security/securityconfig/config.yml</EuiCode>. The
information to<EuiCode>config/opensearch-security/config.yml</EuiCode>. The
<EuiCode>authc</EuiCode> section contains the backends to check user credentials against.
The <EuiCode>authz</EuiCode>
section contains any backends to fetch backend roles from. The most common example of a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ exports[`Get started (landing page) renders when backend configuration is enable
</EuiCode>
information to
<EuiCode>
plugins/opensearch-security/securityconfig/config.yml
config/opensearch-security/config.yml
</EuiCode>
. The
<EuiCode>
Expand Down

0 comments on commit 82c27c7

Please sign in to comment.