# Grant permission on a single dashboard for each user

**URL:** <https://discuss.elastic.co/t/grant-permission-on-a-single-dashboard-for-each-user/236284>\
**Category:** Kibana\
**Created:** [June 9, 2020, 8:25am UTC](https://discuss.elastic.co/t/grant-permission-on-a-single-dashboard-for-each-user/236284 "2020-06-09T08:25:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![elisavet](https://avatars.discourse-cdn.com/v4/letter/e/258eb7/32.png) [@elisavet](https://discuss.elastic.co/u/elisavet)\
**Post date:** [June 9, 2020, 8:25am UTC](https://discuss.elastic.co/t/grant-permission-on-a-single-dashboard-for-each-user/236284/1 "2020-06-09T08:25:43Z")

</div>

Hello!

I want to create dashboard1, dashboard2 from the same index.

But I want user1 to have access only to dashboard1 and user2 only to dashboard2. How can I achieve this?

Thank you,  
Elisavet

---

<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:** [June 9, 2020, 12:00pm UTC](https://discuss.elastic.co/t/grant-permission-on-a-single-dashboard-for-each-user/236284/2 "2020-06-09T12:00:44Z")

</div>

Currently the best way to achieve this is to create separate spaces for the two dashboards: [https://www.elastic.co/guide/en/kibana/7.7/xpack-spaces.html](https://www.elastic.co/guide/en/kibana/7.7/xpack-spaces.html)

When defining the roles for your users, you can restrict access to just a single space.

---

<div class="post-metadata">

**Author:** ![elisavet](https://avatars.discourse-cdn.com/v4/letter/e/258eb7/32.png) [@elisavet](https://discuss.elastic.co/u/elisavet)\
**Post date:** [June 10, 2020, 9:53am UTC](https://discuss.elastic.co/t/grant-permission-on-a-single-dashboard-for-each-user/236284/3 "2020-06-10T09:53:47Z")

</div>

As I have mentioned the dashboards get data from same index, so if I copy the index in both spaces (pls see image), does this mean that the index is stored twice in the server, consuming double space?

Also when I add new data to the index with logstash, will both copies have the new data?

Thank you,  
Elisavet

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/6/c625a303d914b627136b1268cad42a571eb277d5.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:** [June 10, 2020, 1:14pm UTC](https://discuss.elastic.co/t/grant-permission-on-a-single-dashboard-for-each-user/236284/4 "2020-06-10T13:14:55Z")

</div>

The index pattern saved object in Kibana does not contain your actual data, it's just meta data storing information about where to find the actual data, which fields are available, formatting information and so on. It's not using more than a few KB. Your actual data indices are completely oblivious of spaces, this is just about managing the "view" in Kibana.

---

<div class="post-metadata">

**Author:** ![elisavet](https://avatars.discourse-cdn.com/v4/letter/e/258eb7/32.png) [@elisavet](https://discuss.elastic.co/u/elisavet)\
**Post date:** [June 10, 2020, 1:42pm UTC](https://discuss.elastic.co/t/grant-permission-on-a-single-dashboard-for-each-user/236284/5 "2020-06-10T13:42:44Z")

</div>

Ok seems like a viable solution! Thank you for your 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:** [July 8, 2020, 1:42pm UTC](https://discuss.elastic.co/t/grant-permission-on-a-single-dashboard-for-each-user/236284/6 "2020-07-08T13:42:47Z")

</div>

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