# How Can I set USer Security to Only view a dashboard

**URL:** <https://discuss.elastic.co/t/how-can-i-set-user-security-to-only-view-a-dashboard/83448>\
**Category:** Kibana\
**Created:** [April 24, 2017, 6:02pm UTC](https://discuss.elastic.co/t/how-can-i-set-user-security-to-only-view-a-dashboard/83448 "2017-04-24T18:02:24Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ppierce01](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppierce01/32/18510_2.png) [@ppierce01](https://discuss.elastic.co/u/ppierce01)\
**Post date:** [April 24, 2017, 6:02pm UTC](https://discuss.elastic.co/t/how-can-i-set-user-security-to-only-view-a-dashboard/83448/1 "2017-04-24T18:02:24Z")

</div>

I have create a couple of Dashboards and now I want to create a user that is allowed to view these dashboards. I want the user to be able to change the date range on the search as well as filter the data using the search filter bar. I have created a Role and copied the setting in the Kibana\_user role. Only change I made was to the indices was to reflect the data I use for the Dashboards.

I then created my user and assigned the new role to the new user. I can logon on using the new user account but I cannot view anything. If I clack on Dashboards nothing comes up.

What am I missing here? I have also added view\_index\_metadata as suggested by another post but that did not help,

---

<div class="post-metadata">

**Author:** ![spalger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spalger/32/14092_2.png) [@spalger](https://discuss.elastic.co/u/spalger)\
**Post date:** [April 24, 2017, 11:26pm UTC](https://discuss.elastic.co/t/how-can-i-set-user-security-to-only-view-a-dashboard/83448/2 "2017-04-24T23:26:32Z")

</div>

Can you please post more information about the roles the user has assigned, and the location of the data? Index names and copies/screenshots of the roles you're using would be helpful

---

<div class="post-metadata">

**Author:** ![ppierce01](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppierce01/32/18510_2.png) [@ppierce01](https://discuss.elastic.co/u/ppierce01)\
**Post date:** [April 25, 2017, 12:17pm UTC](https://discuss.elastic.co/t/how-can-i-set-user-security-to-only-view-a-dashboard/83448/3 "2017-04-25T12:17:41Z")

</div>

Thank you for your response. The user is assigned this role

And here is a screen shot of the users settings:

 ![](https://us1.discourse-cdn.com/elastic/original/3X/1/e/1e6eac1362f53e63ed8a6a90149586d85bb8238d.png)

The data and index is named updstats.

 ![](https://us1.discourse-cdn.com/elastic/original/3X/7/f/7f800ab37a44df3c288cac2800d308f79222f8e0.png)

Thanks Perry

---

<div class="post-metadata">

**Author:** ![spalger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spalger/32/14092_2.png) [@spalger](https://discuss.elastic.co/u/spalger)\
**Post date:** [April 25, 2017, 4:45pm UTC](https://discuss.elastic.co/t/how-can-i-set-user-security-to-only-view-a-dashboard/83448/4 "2017-04-25T16:45:31Z")

</div>

The user needs read access to the `.kibana` index in order to see the dashboards available.

Also, your `UPDStatsReadOnly` role is giving `index` privileges to the user, which allows them to add and update documents in the index. See [https://www.elastic.co/guide/en/x-pack/current/security-privileges.html#privileges-list-indices](https://www.elastic.co/guide/en/x-pack/current/security-privileges.html#privileges-list-indices)

---

<div class="post-metadata">

**Author:** ![ppierce01](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppierce01/32/18510_2.png) [@ppierce01](https://discuss.elastic.co/u/ppierce01)\
**Post date:** [April 25, 2017, 5:13pm UTC](https://discuss.elastic.co/t/how-can-i-set-user-security-to-only-view-a-dashboard/83448/5 "2017-04-25T17:13:56Z")

</div>

I have removed the index privileges from the role. However when I attempt to add the .kibana index to the user I cannot find that index on my list. Does mu sysadmin need to do something to create that index?

Thanks Perry

---

<div class="post-metadata">

**Author:** ![spalger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spalger/32/14092_2.png) [@spalger](https://discuss.elastic.co/u/spalger)\
**Post date:** [April 26, 2017, 3:47pm UTC](https://discuss.elastic.co/t/how-can-i-set-user-security-to-only-view-a-dashboard/83448/6 "2017-04-26T15:47:08Z")

</div>

If kibana is running then the kibana index should exist. It's possible that your installation is using a custom kibana index name, so I would check with your sysadmin

---

<div class="post-metadata">

**Author:** ![ppierce01](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppierce01/32/18510_2.png) [@ppierce01](https://discuss.elastic.co/u/ppierce01)\
**Post date:** [April 26, 2017, 5:09pm UTC](https://discuss.elastic.co/t/how-can-i-set-user-security-to-only-view-a-dashboard/83448/7 "2017-04-26T17:09:12Z")

</div>

Tanks Spencer appreciate your help.

Thanks Perry

![](https://us1.discourse-cdn.com/elastic/original/2X/f/f464dd1c7c382c015b3fc53eebe1cd1aadffee61.jpg)

---

<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:** [May 24, 2017, 5:19pm UTC](https://discuss.elastic.co/t/how-can-i-set-user-security-to-only-view-a-dashboard/83448/8 "2017-05-24T17:19:57Z")

</div>

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