Skip to content

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

Closed
DarshitChanpura wants to merge 1 commit intoopensearch-project:mainfrom
DarshitChanpura:multitenancy-bug-fix
Closed

Fixes mutlti-tenancy popup toggle due to hard-coded default state#1417
DarshitChanpura wants to merge 1 commit intoopensearch-project:mainfrom
DarshitChanpura:multitenancy-bug-fix

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