# Customized role not able to view data in Kibana

**URL:** <https://discuss.elastic.co/t/customized-role-not-able-to-view-data-in-kibana/53127>\
**Category:** Kibana\
**Created:** [June 17, 2016, 8:49am UTC](https://discuss.elastic.co/t/customized-role-not-able-to-view-data-in-kibana/53127 "2016-06-17T08:49:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wei\_Huang](https://avatars.discourse-cdn.com/v4/letter/w/dbc845/32.png) [@Wei\_Huang](https://discuss.elastic.co/u/Wei_Huang)\
**Post date:** [June 17, 2016, 8:49am UTC](https://discuss.elastic.co/t/customized-role-not-able-to-view-data-in-kibana/53127/1 "2016-06-17T08:49:57Z")

</div>

Hey, guys

Following the training video of x-pack, I tried to set up my own role/user for reading certain index. I added a new user and tried to assign the "kibana" role to this user along with the customized role, but I can't find the role "kibana", which is different from the video says.

If I just assign my customized role to the user (with privilege all), I still can see nothing in discover. If I tried to execute http query through console tab, I got error like this:  
"  
"reason": "action [indices:data/read/search] is unauthorized for user [XXXX]"  
"  
here XXXX is the username.

tried many ways but no luck, hope someone can help. I'm using ES/Kibana 5.0.0-alpha3

---

<div class="post-metadata">

**Author:** ![Wei\_Huang](https://avatars.discourse-cdn.com/v4/letter/w/dbc845/32.png) [@Wei\_Huang](https://discuss.elastic.co/u/Wei_Huang)\
**Post date:** [June 17, 2016, 9:40am UTC](https://discuss.elastic.co/t/customized-role-not-able-to-view-data-in-kibana/53127/2 "2016-06-17T09:40:51Z")

</div>

sorry, I mean the "kibana\_user" role, not kibana

---

<div class="post-metadata">

**Author:** ![jaymode](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaymode/32/50103_2.png) [@jaymode](https://discuss.elastic.co/u/jaymode)\
**Post date:** [June 17, 2016, 11:17am UTC](https://discuss.elastic.co/t/customized-role-not-able-to-view-data-in-kibana/53127/3 "2016-06-17T11:17:59Z")

</div>

Can you share your kibana user role and your customized user roles?

---

<div class="post-metadata">

**Author:** ![Wei\_Huang](https://avatars.discourse-cdn.com/v4/letter/w/dbc845/32.png) [@Wei\_Huang](https://discuss.elastic.co/u/Wei_Huang)\
**Post date:** [July 11, 2016, 8:35am UTC](https://discuss.elastic.co/t/customized-role-not-able-to-view-data-in-kibana/53127/4 "2016-07-11T08:35:26Z")

</div>

ok, just for everyone to know, have to enable .kibana index access for the role you define, or it doesn't work

---

<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:40pm UTC](https://discuss.elastic.co/t/customized-role-not-able-to-view-data-in-kibana/53127/5 "2017-07-06T13:40:58Z")

</div>


