opensearch-project / security-dashboards-plugin

🔐 Manage your internal users, roles, access control, and audit logs from OpenSearch Dashboards
https://opensearch.org/docs/latest/security-plugin/index/
Apache License 2.0
71 stars 162 forks source link

[BUG] The `opensearch_security.multitenancy.tenants.enable_private: false` option does not disable Private Tenants #2148

Open kinseii opened 6 days ago

kinseii commented 6 days ago

What is the bug? The opensearch_security.multitenancy.tenants.enable_private: false option in the OS dashboards configuration file does not disable Private Tenants. You can still choose Private Tenant when you enter.

What is the expected behavior? The opensearch_security.multitenancy.tenants.enable_private: false option in the OS dashboards configuration file should disable Private Tenants.

What is your host/environment?

Do you have any additional context? Disabling Private Tenants via GUI under Security -> Tenants -> Configure works fine.

cwperks commented 2 days ago

[Triage] Thank you for filing this issue @kinseii. Looks like a bug that the static dashboards.yml setting is not taking effect, but the dynamic setting in the security index is taking effect.