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

[BUG] Tenant is defaulting incorrectly based on the ordering of: opensearch_security.multitenancy.tenants.preferred #2019

Open
derek-ho opened this issue Jul 1, 2024 · 4 comments
Assignees
Labels
bug Something isn't working triaged

Comments

@derek-ho
Copy link
Collaborator

derek-ho commented Jul 1, 2024

What is the bug?
Even when a default tenant is set, when logging in the default tenant selected still varies based on the value of opensearch_security.multitenancy.tenants.preferred. For example, if I have selected private as the default tenant but I have a value of opensearch_security.multitenancy.tenants.preferred set as ['Global', 'Private'], users will be automatically logged into the global tenant.
How can one reproduce the bug?
See above

What is the expected behavior?
Whatever is set as the default tenant should be logged in.
What is your host/environment?

  • OS: [e.g. iOS]
  • Version [e.g. 22]
  • Plugins

Do you have any screenshots?
This issue existed for a while, but has become bigger impact due to recent changes that removed the tenant picker from automatically popping up if the default tenant is set.
Do you have any additional context?
No

@derek-ho derek-ho added bug Something isn't working untriaged labels Jul 1, 2024
@derek-ho
Copy link
Collaborator Author

derek-ho commented Jul 1, 2024

@derek-ho
Copy link
Collaborator Author

derek-ho commented Jul 1, 2024

@derek-ho derek-ho self-assigned this Jul 2, 2024
@stephen-crawford
Copy link
Contributor

[Triage] Hi @derek-ho thank you for filing this issue. This seems like a good experience fix. Marking as triaged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triaged
Projects
None yet
Development

No branches or pull requests

2 participants