# How to disable error message in Kibana?

**URL:** <https://forum.search-guard.com/t/how-to-disable-error-message-in-kibana/1895>\
**Category:** Search Guard\
**Created:** [July 10, 2020, 12:53pm UTC](https://forum.search-guard.com/t/how-to-disable-error-message-in-kibana/1895 "2020-07-10T12:53:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Murango](https://avatars.discourse-cdn.com/v4/letter/m/d78d45/32.png) [@Murango](https://forum.search-guard.com/u/Murango)\
**Post date:** [July 10, 2020, 12:53pm UTC](https://forum.search-guard.com/t/how-to-disable-error-message-in-kibana/1895/1 "2020-07-10T12:53:54Z")

</div>

Hello,

Problem description:  
**Elasticsearch version: 6.8.10**  
**Kibana version (if relevant): 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?

---

<div class="post-metadata">

**Author:** ![srgbnd](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/srgbnd/32/506_2.png) [@srgbnd](https://forum.search-guard.com/u/srgbnd)\
**Post date:** [July 10, 2020, 3:02pm UTC](https://forum.search-guard.com/t/how-to-disable-error-message-in-kibana/1895/2 "2020-07-10T15:02:01Z")

</div>

Hi. There is no way to disable these messages. You can use [multitenancy](https://docs.search-guard.com/latest/kibana-multi-tenancy) to introduce user scopes and minimize these kinds of messages. But in the end, a user must have proper permission if he wants to access something.

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/system/32/1870_2.png) [@system](https://forum.search-guard.com/u/system)\
**Post date:** [July 31, 2020, 3:02pm UTC](https://forum.search-guard.com/t/how-to-disable-error-message-in-kibana/1895/3 "2020-07-31T15:02:01Z")

</div>

Closed on July 31, 2020, 3:02pm UTC

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
