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] Tenancy should be automatically switched to user's default tenant when the user does not have access to the tenant read from a cookie #1983

Open
DarshitChanpura opened this issue Jun 3, 2024 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers triaged

Comments

@DarshitChanpura
Copy link
Member

What is the bug?
The tenant doesn't switch to default Private when logging in as a different user who doesn't have permission to the tenant.

How can one reproduce the bug?
Steps to reproduce the behavior:

  1. Launch opensearch-dashboards.
  2. Login as admin and create a new user.
  3. Switch to global tenant on admin user.
  4. Log out as admin and log-in as the new user.
  5. Click on Switch tenant from user information menu and see error

What is the expected behavior?
Tenant should switch to a default when currently logged in user doesn't have permission to the tenant stored in the cookie.

Do you have any screenshots?

Screen.Recording.2024-06-03.at.11.03.20.AM.mov
@DarshitChanpura DarshitChanpura added bug Something isn't working untriaged labels Jun 3, 2024
@scrawfor99
Copy link
Collaborator

[Triage] Hi @DarshitChanpura thanks for filing this issue. Nice catch! This should be hopefully fairly straightforward.

@scrawfor99 scrawfor99 added triaged good first issue Good for newcomers and removed untriaged labels Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers triaged
Projects
None yet
Development

No branches or pull requests

2 participants