Skip to content
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

Fixes mutlti-tenancy popup toggle due to hard-coded default state #1417

Conversation

DarshitChanpura
Copy link
Member

Category

Bug fix

Why these changes are required?

To fix the incorrect popup display for switching tenants.

What is the old behavior before changes and new behavior after changes?

After this change the switch tenants panel and popup won't be shown if multi-tenancy is disabled.

Issues Resolved

Resolves #1412

Testing

Manual testing

Check List

  • New functionality includes testing
  • New functionality has been documented
  • Commits are signed per the DCO using --signoff

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.

Signed-off-by: Darshit Chanpura <dchanp@amazon.com>
);
setIsMultiTenancyEnabled(isEnabled);
} catch (e) {
// TODO: switch to better error display.
console.error(e);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should have default behavior instead of print error into browser console which will notice nothing to customer and not actonable

@DarshitChanpura
Copy link
Member Author

Closing in lieu of #1419

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG-2.7.0] feature flag opensearch_security.multitenancy.enabled was broken
2 participants