-
Notifications
You must be signed in to change notification settings - Fork 187
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
Tenant popup appears when switch to offline API #4033
Comments
Research about
|
Disable tenancy popup via
|
Alternatives solutions:
|
Current solution
Implementation:
This will add this config to the URL and skip the tenant popup. Resources:
Testing solutionScreen.Recording.2022-04-22.at.10.26.14.mov# opensearch_dashboard.yml
server.host: "0.0.0.0"
opensearch.hosts: "https://localhost:9200"
uiSettings.overrides.defaultRoute: /app/wazuh?security_tenant=global
# OpenSearch security
opensearch.ssl.verificationMode: none
opensearch.username: kibanaserver
opensearch.password: kibanaserver
opensearch.requestHeadersWhitelist: ["securitytenant","Authorization"]
opensearch_security.multitenancy.enabled: true
opensearch_security.multitenancy.tenants.preferred: ["Private", "Global"] |
The problem with the URL solution is that if we open a link in another window, the URL must have also the tenant selection included. That would force us to change all the links within the application to incorporate it. Some times this will be impossible depending on the component which generates the link. |
We are going to use the mitigation proposed in wazuh/wazuh-packages#1471 and implemented in https://github.com/wazuh/wazuh-packages/pull/1479/files The key change here besides disabling the multi-tenancy by default is to disable the pop-up function by passing it a hard-coded false value. If we enable multi-tenancy again, we can access the pop-up tenant selection window through the top-right user-menu. We just tested the selection is possible, but we haven't tested the whole multi-tenancy functionality yet. |
@wazuh/qa is also testing it with the packages. Their progress is in wazuh/wazuh-qa#2816 |
The fix was applied and released as a modification of the package. |
Description
When an API is offline, the dropdown should not let you choose it. Research the tenants and the multi API support.
Steps to reproduce
The text was updated successfully, but these errors were encountered: