# Kibana dashboard only User

**URL:** <https://discuss.elastic.co/t/kibana-dashboard-only-user/194155>\
**Category:** Kibana\
**Created:** [August 7, 2019, 6:16am UTC](https://discuss.elastic.co/t/kibana-dashboard-only-user/194155 "2019-08-07T06:16:29Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinu89](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vinu89/32/45939_2.png) [@vinu89](https://discuss.elastic.co/u/vinu89)\
**Post date:** [August 7, 2019, 6:16am UTC](https://discuss.elastic.co/t/kibana-dashboard-only-user/194155/1 "2019-08-07T06:16:29Z")

</div>

Hi,

I have setup kibana 7.3 i need some of my teammates to view only the kibana dashboard so i created the new user and assigned role as kibana dashboard only user the user was successfully created.When they login login was successful and when they open the dashboard it says that error in visualisation....

But when i open with elastic{superuser} i can open the dashboard.

Please help me if i am missing out something

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [August 8, 2019, 11:50am UTC](https://discuss.elastic.co/t/kibana-dashboard-only-user/194155/2 "2019-08-08T11:50:51Z")

</div>

Hi @vinu89, thanks for your question.

I'm going to need a bit more information about what's going wrong here in order to help you fix this.

Is there an error thrown in the browser console in that case? What types visualizations fail? Is it possible that the new user you created doesn't have access to the indices used on the dashboard?

---

<div class="post-metadata">

**Author:** ![kakano.1](https://avatars.discourse-cdn.com/v4/letter/k/48db29/32.png) [@kakano.1](https://discuss.elastic.co/u/kakano.1)\
**Post date:** [August 11, 2019, 9:23am UTC](https://discuss.elastic.co/t/kibana-dashboard-only-user/194155/3 "2019-08-11T09:23:03Z")

</div>

Hello, I have encountered the same problem. Have you solved it? Could you take a look at it for me? In my post

---

<div class="post-metadata">

**Author:** ![vinu89](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vinu89/32/45939_2.png) [@vinu89](https://discuss.elastic.co/u/vinu89)\
**Post date:** [August 13, 2019, 7:06am UTC](https://discuss.elastic.co/t/kibana-dashboard-only-user/194155/4 "2019-08-13T07:06:54Z")

</div>

sorry for the late reply.I have created the dashboard under superuser which was elastic.I dnt want to share the entire kibana to my team.I just want to give the dashboard so under users i created kibana\_dashboard only user . Then when the person logged in and click on the dashboard name it said that error in visualisations all visualisation which i have created.

Following is the error

"mes sage":"[security\_exception] action [indices:data/read/msearch] is unauthorized f or user [vinu]"}

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [August 15, 2019, 7:42am UTC](https://discuss.elastic.co/t/kibana-dashboard-only-user/194155/5 "2019-08-15T07:42:08Z")

</div>

Hi @vinu89 @kakano.1 ,

Thanks for the error message, this is very helpful.

Did you only assign the `kibana_dashboard_only_user` role to the user in question? `kibana_dashboard_only_user` does not grant access to any data indices, so you have to create a separate role with read access to the indices used on the dashboard and also assign in to the user.

It's the third step outlined in [https://www.elastic.co/guide/en/kibana/current/xpack-dashboard-only-mode.html#setup-dashboard-only-mode](https://www.elastic.co/guide/en/kibana/current/xpack-dashboard-only-mode.html#setup-dashboard-only-mode)

Let me know whether that solves your problem.

---

<div class="post-metadata">

**Author:** ![kakano.1](https://avatars.discourse-cdn.com/v4/letter/k/48db29/32.png) [@kakano.1](https://discuss.elastic.co/u/kakano.1)\
**Post date:** [August 19, 2019, 6:48am UTC](https://discuss.elastic.co/t/kibana-dashboard-only-user/194155/6 "2019-08-19T06:48:08Z")

</div>

Thank you. It's been taken care of

---

<div class="post-metadata">

**Author:** ![vinu89](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vinu89/32/45939_2.png) [@vinu89](https://discuss.elastic.co/u/vinu89)\
**Post date:** [August 23, 2019, 6:28am UTC](https://discuss.elastic.co/t/kibana-dashboard-only-user/194155/7 "2019-08-23T06:28:37Z")

</div>

Hi ,

I tried but the problem is i cannot select the indexed in roles option it is disabled.Please find the screenshot

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/2/b22eecd9968d836764c7b06f7899f45bc3e79e61.png)

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [August 23, 2019, 8:16am UTC](https://discuss.elastic.co/t/kibana-dashboard-only-user/194155/8 "2019-08-23T08:16:55Z")

</div>

It seems like you are trying to edit the `kibana_dashboard_only_user` role directly. You have to create a new role and configure the indices there, then assign both the newly created role and the `kibana_dashboard_only_user` to the user.

---

<div class="post-metadata">

**Author:** ![vinu89](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vinu89/32/45939_2.png) [@vinu89](https://discuss.elastic.co/u/vinu89)\
**Post date:** [August 23, 2019, 10:06am UTC](https://discuss.elastic.co/t/kibana-dashboard-only-user/194155/9 "2019-08-23T10:06:59Z")

</div>

yea right i have created a new role and assigned now it worked...thanks a ton for your timely help

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 20, 2019, 10:21am UTC](https://discuss.elastic.co/t/kibana-dashboard-only-user/194155/10 "2019-09-20T10:21:41Z")

</div>

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