Skip to content

Commit

Permalink
Fix plugin configuration path (opensearch-project#1304) (opensearch-p…
Browse files Browse the repository at this point in the history
…roject#1342)

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 <[email protected]>
Co-authored-by: Stephen Crawford <[email protected]>
(cherry picked from commit 82c27c7c235a3f075e697d566b6fe3c97f4fdcbd)

Co-authored-by: Romain Tartière <[email protected]>
Co-authored-by: Craig Perkins <[email protected]>
  • Loading branch information
3 people authored Feb 21, 2023
1 parent 1fb57f6 commit f159501
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 f159501

Please sign in to comment.