-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding test for opensearch_security.multitenancy.enabled disabled #653
Adding test for opensearch_security.multitenancy.enabled disabled #653
Conversation
Signed-off-by: Abhi Kalra <abhivka@amazon.com>
@@ -0,0 +1,25 @@ | |||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@abhivka7 Where is the setup for this test? Is it set to multi-tenancy disabled by default?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That will be done through workflow in Security Dashboards plugin. Here is the commit: opensearch-project/security-dashboards-plugin@b70c248
PR: https://github.com/opensearch-project/security-dashboards-plugin/pull/1419/commits
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think you should add a part of the test where the feature is also enabled? Is it possible to show the feature going from enabled to disabled or vice versa? I am not familiar very familiar with these test setups so I don't know whether it can persist a state across the config change or not.
@scrawfor99 The tests added here: #609 take care of case where the feature is enabled. Switching tenant didn't work as it would require a node startup. |
Need backports? |
@peterzhuamazon I am not sure. These tests for now should run for 2.7 |
Signed-off-by: Abhi Kalra <abhivka@amazon.com> Co-authored-by: Abhi Kalra <abhivka@amazon.com> (cherry picked from commit e601884)
Signed-off-by: Abhi Kalra <abhivka@amazon.com> Co-authored-by: Abhi Kalra <abhivka@amazon.com> (cherry picked from commit e601884)
…ensearch-project#653) (opensearch-project#655) Signed-off-by: Abhi Kalra <abhivka@amazon.com> Co-authored-by: Abhi Kalra <abhivka@amazon.com> (cherry picked from commit e601884) Co-authored-by: Abhi Kalra <99718513+abhivka7@users.noreply.github.com> Signed-off-by: leanne.laceybyrne@eliatra.com <leanne.laceybyrne@eliatra.com>
Description
We are adding a new cypress test to check if Dashboards tenancy features are disabled when
opensearch_security.multitenancy.enabled
is disabled in theopensearchdashboard.yaml
file.Issues Resolved
Cypress tests for PR: opensearch-project/security-dashboards-plugin#1419
Check List
Testing video:
unaccessible_tenancy_feature.js.mp4
Testing by running cypress test from Security-Dashboards plugin;
https://github.com/opensearch-project/security-dashboards-plugin/actions/runs/4894295743/jobs/8738346716
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.