From c736927a890b816f3d08118b6c337a50715d60c5 Mon Sep 17 00:00:00 2001 From: Ian Yenien Serrano <63758389+yenienserrano@users.noreply.github.com> Date: Wed, 21 Feb 2024 13:14:04 +0100 Subject: [PATCH] Change order of security in left menu (#36) * Change order of security in left menu * Fix cypress test --- .github/workflows/cypress-test-tenancy-disabled.yml | 2 +- .github/workflows/cypress-test.yml | 2 +- public/plugin.ts | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cypress-test-tenancy-disabled.yml b/.github/workflows/cypress-test-tenancy-disabled.yml index 109bb5ebf..ecc67df84 100644 --- a/.github/workflows/cypress-test-tenancy-disabled.yml +++ b/.github/workflows/cypress-test-tenancy-disabled.yml @@ -80,7 +80,7 @@ jobs: cd ./OpenSearch-Dashboards nohup yarn start --no-base-path --no-watch & sleep 500 - git clone https://github.com/opensearch-project/opensearch-dashboards-functional-test.git + git clone https://github.com/opensearch-project/opensearch-dashboards-functional-test.git -b ${{ env.OPENSEARCH_VERSION }} cd opensearch-dashboards-functional-test npm install cypress --save-dev yarn cypress:run-with-security --browser chrome --spec "cypress/integration/plugins/security-dashboards-plugin/inaccessible_tenancy_features.js" diff --git a/.github/workflows/cypress-test.yml b/.github/workflows/cypress-test.yml index c60ab99ba..ca798c230 100644 --- a/.github/workflows/cypress-test.yml +++ b/.github/workflows/cypress-test.yml @@ -82,7 +82,7 @@ jobs: cd ./OpenSearch-Dashboards nohup yarn start --no-base-path --no-watch & sleep 500 - git clone https://github.com/opensearch-project/opensearch-dashboards-functional-test.git + git clone https://github.com/opensearch-project/opensearch-dashboards-functional-test.git -b ${{ env.OPENSEARCH_VERSION }} cd opensearch-dashboards-functional-test npm install cypress --save-dev yarn cypress:run-with-security-and-aggregation-view --browser chrome --spec "cypress/integration/plugins/security-dashboards-plugin/aggregation_view.js" diff --git a/public/plugin.ts b/public/plugin.ts index 7ac039fb1..6c33710ce 100644 --- a/public/plugin.ts +++ b/public/plugin.ts @@ -100,7 +100,7 @@ export class SecurityPlugin core.application.register({ id: PLUGIN_NAME, title: 'Security', - order: 9050, + order: 9030, mount: async (params: AppMountParameters) => { const { renderApp } = await import('./apps/configuration/configuration-app'); const [coreStart, depsStart] = await core.getStartServices(); @@ -121,7 +121,7 @@ export class SecurityPlugin deps.managementOverview.register({ id: PLUGIN_NAME, title: 'Security', - order: 9050, + order: 9030, description: i18n.translate('security.securityDescription', { defaultMessage: 'Configure how users access data in OpenSearch with authentication, access control and audit logging.',