We’ve experimented a bit with the multitenancy feature of opendistro and we like it so far.
However, i cannot find anywhere what the “private” and “global” tenants are?
Also, is it possible to restrict a user to only one tenant, therefore not even showing the user other tenants such as Private and Global? Therefore “auto” signing into the one tenant that the user has access to?
And in “Tenants” Tab, add your custom tenant name, with rights Read&Write if you want the user to be able to save Visualizations, Search, Dashboards. Read&Only for just reading rights.
That is great news, thank you for the quick reply.
Do you know if there is a way to restrict kibana in a way so that the regular users only see the Discover tab and the admins see everything else? Like Management etc?
I have created two roles with name RoleA, RoleB…(Elastic search version - 7.1)
Question 1: I want to map Global tenant for RoleA only , will that be possible?
Question 2: Is it possible to disable Global tenant for all roles via rest api call with using dev tools, if yes please share the sample request body to do this task.
Hi @ksware. Global tenant is not explicitly mapped to users, all users get it. Currently the setting to disable the global tenant opensearch_security.multitenancy.tenants.enable_global is not exposed via REST APIs, unfortunately.