fixes documentation links for ES role privileges (#26466) (#26547)

This commit is contained in:
Larry Gregory 2018-12-03 13:50:56 -05:00 committed by GitHub
parent 555acc7d62
commit 8e3d8022ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 6 deletions

View file

@ -6,9 +6,11 @@
import { ELASTIC_WEBSITE_URL, DOC_LINK_VERSION } from 'ui/documentation_links';
const STACK_OVERVIEW_URL = `${ELASTIC_WEBSITE_URL}guide/en/elastic-stack-overview/${DOC_LINK_VERSION}`;
export const documentationLinks = {
dashboardViewMode: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/xpack-view-modes.html`,
esClusterPrivileges: `${ELASTIC_WEBSITE_URL}guide/en/x-pack/${DOC_LINK_VERSION}/security-privileges.html#security-privileges`,
esIndicesPrivileges: `${ELASTIC_WEBSITE_URL}guide/en/x-pack/${DOC_LINK_VERSION}/security-privileges.html#privileges-list-indices`,
esRunAsPrivileges: `${ELASTIC_WEBSITE_URL}guide/en/x-pack/${DOC_LINK_VERSION}/security-privileges.html#_run_as_privilege`,
esClusterPrivileges: `${STACK_OVERVIEW_URL}/security-privileges.html#privileges-list-cluster`,
esIndicesPrivileges: `${STACK_OVERVIEW_URL}/security-privileges.html#privileges-list-indices`,
esRunAsPrivileges: `${STACK_OVERVIEW_URL}/security-privileges.html#_run_as_privilege`,
};

View file

@ -18,7 +18,7 @@ exports[`it renders without crashing 1`] = `
<EuiLink
className="editRole__learnMore"
color="primary"
href="undefinedguide/en/x-pack/undefined/security-privileges.html#security-privileges"
href="undefinedguide/en/elastic-stack-overview/undefined/security-privileges.html#privileges-list-cluster"
target="_blank"
type="button"
>
@ -81,7 +81,7 @@ exports[`it renders without crashing 1`] = `
<EuiLink
className="editRole__learnMore"
color="primary"
href="undefinedguide/en/x-pack/undefined/security-privileges.html#_run_as_privilege"
href="undefinedguide/en/elastic-stack-overview/undefined/security-privileges.html#_run_as_privilege"
target="_blank"
type="button"
>
@ -156,7 +156,7 @@ exports[`it renders without crashing 1`] = `
<EuiLink
className="editRole__learnMore"
color="primary"
href="undefinedguide/en/x-pack/undefined/security-privileges.html#privileges-list-indices"
href="undefinedguide/en/elastic-stack-overview/undefined/security-privileges.html#privileges-list-indices"
target="_blank"
type="button"
>