Hello,
Problem description:
Elasticsearch version: 6.8.10
Kibana version: 6.8.10
Describe the issue:
When user go to Discover in Kibana and he don’t have access to some data, he receive error:
Discover: no permissions for [indices:data/read/search] and User [name=user, roles=, requestedTenant=]
Error: Request to Elasticsearch failed: {“error”:{“root_cause”:[{“type”:“security_exception”,“reason”:“no permissions for [indices:data/read/search] and User [name=user, roles=, requestedTenant=]”}],“type”:“security_exception”,“reason”:“no permissions for [indices:data/read/search] and User [name=user, roles=, requestedTenant=]”},“status”:403}
How to disable this kind of messages so it will not be visible to the user? There is an option to have a general description like "permission denied" without details?