# Dashboards are Failing Users for LDAP Users

**URL:** https://discuss.elastic.co/t/dashboards-are-failing-users-for-ldap-users/131408
**Category:** Elasticsearch
**Created:** [May 11, 2018, 6:30am UTC](https://discuss.elastic.co/t/dashboards-are-failing-users-for-ldap-users/131408 "2018-05-11T06:30:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![paul1243](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@paul1243](https://discuss.elastic.co/u/paul1243)
#### Post date: [May 11, 2018, 6:30am UTC](https://discuss.elastic.co/t/dashboards-are-failing-users-for-ldap-users/131408/1 "2018-05-11T06:30:48Z")

</div>

Hi,  
I installed x-pack across all the nodes on my ELK cluster, and also enabled Security with LDAP, and provided Kibana dashboard only roles for all the users in LDAP.  
When I login thru elastic user Id, Am able to see the data on the dashboard, but when I login with the LDAP user Id, I see the below error message.

```auto
The request for this panel failed.
The aggregations key is missing from the response, check your permissions for this request.

```

Also, I had ran the kibana dashboard API request across all the nodes, and the response from all the nodes are same as below:

```auto
{"dashboard_only":{"enabled":true,"roles":["kibana_dashboard_only_user"],"rules":{"field":{"realm.name":"active_directory"}},"metadata":{}}}

```

Please let me know to how to resolve this issue. Thanks !

---

<div class="post-metadata">

### Author: ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)
#### Post date: [May 11, 2018, 7:15am UTC](https://discuss.elastic.co/t/dashboards-are-failing-users-for-ldap-users/131408/2 "2018-05-11T07:15:41Z")

</div>

It looks like you're only granting the `kibana_dashboard_only_user` role, but not granting access to the underlying data.

Kibana pulls in all data from Elasticsearch using the logged-in user's identity - they need to also be granted a role that gives them read access to the indices that power the dashboards.

See step 5 here: [https://www.elastic.co/guide/en/kibana/6.2/using-kibana-with-security.html](https://www.elastic.co/guide/en/kibana/6.2/using-kibana-with-security.html)

---

<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: [June 8, 2018, 7:15am UTC](https://discuss.elastic.co/t/dashboards-are-failing-users-for-ldap-users/131408/3 "2018-06-08T07:15:45Z")

</div>

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