You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the bug?
Dashboard login has a problem that if we give access to global_tenant for some user/role, then global_tenant is getting displayed in custom tenants if Global tenant is disabled.
How can one reproduce the bug?
Pre-requisites:
We have a custom tenant "cadm"
We have disabled "Global" and "Private" tenants
Steps to reproduce the behavior:
Go to Dashboard
Click on Single Sign-on
See that user is logged in to global_tenant by default:
Once the user selects the custom tenant "cadm", then the global_tenant automatically gets removed from custom tenant drop down:
What is the expected behavior?
We should not see global_tenant in custom tenants drop down if Global tenant is disabled from multi tenancy configuration.
What is your host/environment?
OS: [e.g. iOS]
Version [e.g. 22]
Plugins
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Opensearch version 2.4.0
The text was updated successfully, but these errors were encountered:
Update: I have confirmed with @cliu123 that this is a expected behavior. If the user has enabled multi-tenancy but disabled both 'Global' and 'Private' tenants, it will use this global_tenant as a temporary custom tenants before choosing/creating a custom tenants. Otherwise, it will make no difference with disabling multi-tenancy. If the user doesn't have any other custom tenant without global_tenant, it will return this error: {"statusCode":400,"error":"Bad Request","message":"No available tenant for current user, please reach out to your system administrator"}
However, for solving this confusion, I have implemented the above fix for user who has already have their own custom tenants so that this global_tenant label won't appear in the custom tenants selection list.
What is the bug?
Dashboard login has a problem that if we give access to global_tenant for some user/role, then global_tenant is getting displayed in custom tenants if Global tenant is disabled.
How can one reproduce the bug?
Pre-requisites:
Steps to reproduce the behavior:
What is the expected behavior?
We should not see global_tenant in custom tenants drop down if Global tenant is disabled from multi tenancy configuration.
What is your host/environment?
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Opensearch version 2.4.0
The text was updated successfully, but these errors were encountered: