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] user prompted for tenant when there's no option to select for tenant (only global enabled) #818

Closed
sooslaca opened this issue Aug 31, 2021 · 2 comments
Labels
bug Something isn't working triaged

Comments

@sooslaca
Copy link

Describe the bug

user prompted for tenant when there's no option to select for tenant (only global tenant is enabled)

To Reproduce
Steps to reproduce the behavior:

  1. opensearch dashboard configuration
opensearch_security.multitenancy.enabled: true
opensearch_security.multitenancy.tenants.preferred: ["Global"]
opensearch_security.multitenancy.tenants.enable_private : false
  1. No other tenants should be created in security -> Tenants
    image

  2. Go to 'opensearch dashboard' in incognito mode or on new tab

  3. Popup is coming, with no real choice.
    image

Expected behavior
No popup, select "Global" tenant by default

OpenSearch Version
docker: opensearchproject/opensearch:1.0.0

Dashboards Version
docker: opensearchproject/opensearch-dashboards:1.0.0

Plugins

[opensearch]/usr/share/opensearch# ls plugins/
opensearch-alerting           opensearch-asynchronous-search  opensearch-job-scheduler  opensearch-notebooks             opensearch-reports-scheduler  opensearch-sql
opensearch-anomaly-detection  opensearch-index-management     opensearch-knn            opensearch-performance-analyzer  opensearch-security

Screenshots

Are in the description.

Host/Environment (please complete the following information):

  • OS: Windows
  • Browser and version Version 1.28.106 Chromium: 92.0.4515.159 (Official Build) (64-bit)

Additional context

  1. can we force default tenant selection???
  2. we tried sending header "securitytenant" for opensearch-dashboards but that didn't make it any different. Should it work to force select tenant?
@kavilla
Copy link
Member

kavilla commented Aug 31, 2021

Hello @sooslaca !

@opensearch-project/admin can this issue be transferred to https://github.com/opensearch-project/security-dashboards-plugin, since this is related to the security plugin.

Thank you!

@dblock dblock transferred this issue from opensearch-project/OpenSearch-Dashboards Sep 1, 2021
@davidlago davidlago added the bug Something isn't working label Jul 27, 2022
@davidlago
Copy link

Apologies for the very late response. I believe this has been addressed since, please re-open if not the case. Also, there is ongoing work around the concept of workspaces that will eventually replace tenants, in case you're interested in collaborating/following along!

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

3 participants