# Problem with creation of users with the correct role

**URL:** <https://discuss.elastic.co/t/problem-with-creation-of-users-with-the-correct-role/125224>\
**Category:** Kibana\
**Created:** [March 22, 2018, 3:53pm UTC](https://discuss.elastic.co/t/problem-with-creation-of-users-with-the-correct-role/125224 "2018-03-22T15:53:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dorj1234](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dorj1234/32/21339_2.png) [@dorj1234](https://discuss.elastic.co/u/dorj1234)\
**Post date:** [March 22, 2018, 3:53pm UTC](https://discuss.elastic.co/t/problem-with-creation-of-users-with-the-correct-role/125224/1 "2018-03-22T15:53:23Z")

</div>

Hello,  
I have failed to create a kibana user that can see specific dashboards and their data.  
Perhaps you can tell me what I may be missing, I tried to use the existing roles in the Kibana 6.2.2 I have, and I also tried creating new roles.  
The best result I got was that the user can see the dashboard, and visuals, but no data from the index.

Details:  
My index is called "test1" my user is called "test1user" and my visuals and dashboard show data only from the test1 index.

I gave my "test1user" the following permissions:  
roles: test1user, kibana\_user, watcher\_user

Thanks in advance !  
JD

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [March 22, 2018, 7:05pm UTC](https://discuss.elastic.co/t/problem-with-creation-of-users-with-the-correct-role/125224/2 "2018-03-22T19:05:47Z")

</div>

What roles did you give `test1user`? Do any of the roles have privileges for the index?

---

<div class="post-metadata">

**Author:** ![dorj1234](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dorj1234/32/21339_2.png) [@dorj1234](https://discuss.elastic.co/u/dorj1234)\
**Post date:** [March 23, 2018, 1:57am UTC](https://discuss.elastic.co/t/problem-with-creation-of-users-with-the-correct-role/125224/3 "2018-03-23T01:57:59Z")

</div>

I tried a bunch of things, therefore suggest that you assume I know nothing, what do I need to provide that user to see data from the "test1" index and the visualizations for the index?

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [March 23, 2018, 2:44pm UTC](https://discuss.elastic.co/t/problem-with-creation-of-users-with-the-correct-role/125224/4 "2018-03-23T14:44:39Z")

</div>

Create a role and add read/write access to the desired index to the role. Add the role to user.

---

<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:** [April 20, 2018, 2:44pm UTC](https://discuss.elastic.co/t/problem-with-creation-of-users-with-the-correct-role/125224/5 "2018-04-20T14:44:40Z")

</div>

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