# Configuring roles.yml for Kibana Dashboard only?

**URL:** <https://discuss.elastic.co/t/configuring-roles-yml-for-kibana-dashboard-only/40392>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [January 28, 2016, 5:05pm UTC](https://discuss.elastic.co/t/configuring-roles-yml-for-kibana-dashboard-only/40392 "2016-01-28T17:05:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulkeogh](https://avatars.discourse-cdn.com/v4/letter/p/8dc957/32.png) [@paulkeogh](https://discuss.elastic.co/u/paulkeogh)\
**Post date:** [January 28, 2016, 5:05pm UTC](https://discuss.elastic.co/t/configuring-roles-yml-for-kibana-dashboard-only/40392/1 "2016-01-28T17:05:24Z")

</div>

Hi,

Is it possible to configure the roles permissions set in roles.yml so that I can show my Dashboard but not show the corresponding index in the Discovery view ?

I don't think it is but thought I'd ask - my reading is that I need the indices:data/read/[m]search permissions for the Dashboard query and that these effectively enable the Discovery view.

Thanks,

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 29, 2016, 2:03am UTC](https://discuss.elastic.co/t/configuring-roles-yml-for-kibana-dashboard-only/40392/2 "2016-01-29T02:03:34Z")

</div>

There's currently no way to do that level of restriction in KB, you can see more here though - [https://github.com/elastic/kibana/issues/3904](https://github.com/elastic/kibana/issues/3904)

---

<div class="post-metadata">

**Author:** ![paulkeogh](https://avatars.discourse-cdn.com/v4/letter/p/8dc957/32.png) [@paulkeogh](https://discuss.elastic.co/u/paulkeogh)\
**Post date:** [January 29, 2016, 10:19am UTC](https://discuss.elastic.co/t/configuring-roles-yml-for-kibana-dashboard-only/40392/3 "2016-01-29T10:19:12Z")

</div>

OK thanks.

A little off topic, but I could achieve the same effect by being able to pop out the Kibana dashbaord into an iframe on a separate portal - but the current share functionality shares the entire Kibana app, not just the dashboard.

Any point in exploring this option ?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 29, 2016, 9:01pm UTC](https://discuss.elastic.co/t/configuring-roles-yml-for-kibana-dashboard-only/40392/4 "2016-01-29T21:01:20Z")

</div>

If it works for you, sure!

---

<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:** [July 6, 2017, 1:47pm UTC](https://discuss.elastic.co/t/configuring-roles-yml-for-kibana-dashboard-only/40392/5 "2017-07-06T13:47:06Z")

</div>


