I want to hide Index Managment tab in Kibana if user hasn’t permissions for this. How can I do this? My users has own tenants with roles which has permissions for index patterns like this user:
{
"user1" : {
"reserved" : false,
"hidden" : false,
"cluster_permissions" : [ ],
"index_permissions" : [
{
"index_patterns" : [
"*user1*"
],
"dls" : "",
"fls" : [ ],
"masked_fields" : [ ],
"allowed_actions" : [
"indices_all"
]
}
],
"tenant_permissions" : [
{
"tenant_patterns" : [
"user1"
],
"allowed_actions" : [
"kibana_all_read",
"kibana_all_write"
]
}
],
"static" : false
}
}
When specific user goes to Index Management tab, he will see warning like this:
[security_exception] no permissions for [indices:data/read/search] and User [name=user1, backend_roles=[], requestedTenant=__user__]
I want to do this how as Security tab working. If user hasn’t specific permissions, this tab will be hide.
My ODFE v1.9.0.0