# Dashboard only role shows all applications in the menu

**URL:** <https://discuss.elastic.co/t/dashboard-only-role-shows-all-applications-in-the-menu/211722>\
**Category:** Kibana\
**Created:** [December 12, 2019, 9:23pm UTC](https://discuss.elastic.co/t/dashboard-only-role-shows-all-applications-in-the-menu/211722 "2019-12-12T21:23:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![saif3r](https://avatars.discourse-cdn.com/v4/letter/s/49beb7/32.png) [@saif3r](https://discuss.elastic.co/u/saif3r)\
**Post date:** [December 12, 2019, 9:23pm UTC](https://discuss.elastic.co/t/dashboard-only-role-shows-all-applications-in-the-menu/211722/1 "2019-12-12T21:23:14Z")

</div>

Hi,

I created a new role called _test_ which has been mapped to role _abc_ which has been created as a dedicated Dashboard group. I mapped it to AD group. This group is suppose to show only Dashboard menu in Kibana with Read privileges. Instead, it shows all apps in the menu. Any idea why? I have no issues logging in with an account that's part of this AD group. Also, this AD user is part only of this single group.  
Version 7.4.2

> GET \_security/role\_mapping/test

```
{
      "test" : {
        "enabled" : true,
        "roles" : [
          "abc"
        ],
        "rules" : {
          "field" : {
            "groups" : "CN=x,OU=x,OU=x,OU=x,DC=x,DC=x,DC=x,DC=x"
          }
        },
        "metadata" : { }
      }
    }

```

 ![screencapture-10-231-130-188-5601-app-kibana-2019-12-12-22_21_50](https://us1.discourse-cdn.com/elastic/original/3X/1/b/1bf0ef4a6c0ed9ca5fcd408f992fd8b5cab06bc2.png)

 ![screencapture-10-231-130-188-5601-app-kibana-2019-12-12-22_22_49](https://us1.discourse-cdn.com/elastic/original/3X/9/2/926b9de499b2ac93af661cb7ac5ea11a90530dce.png)

 ![2019-12-12%2022_23_52-Kibana](https://us1.discourse-cdn.com/elastic/original/3X/c/7/c7cad6d33a2eee4b5d4d80ee3e062ce123fed641.png)

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [December 16, 2019, 4:50pm UTC](https://discuss.elastic.co/t/dashboard-only-role-shows-all-applications-in-the-menu/211722/2 "2019-12-16T16:50:43Z")

</div>

Hey @saif3r, does the user with the `abc` role have any other roles?

Per the [docs](https://www.elastic.co/guide/en/kibana/current/xpack-security-authorization.html)

> When you assign a user multiple roles, the user receives a union of the roles’ privileges. Therefore, assigning the `kibana_user` role in addition to a custom role that grants Kibana privileges is ineffective because `kibana_user` has access to all the features in all spaces.

---

<div class="post-metadata">

**Author:** ![saif3r](https://avatars.discourse-cdn.com/v4/letter/s/49beb7/32.png) [@saif3r](https://discuss.elastic.co/u/saif3r)\
**Post date:** [December 17, 2019, 7:48am UTC](https://discuss.elastic.co/t/dashboard-only-role-shows-all-applications-in-the-menu/211722/3 "2019-12-17T07:48:50Z")

</div>

Hello!  
No, for the testing purposes i created an exclusive user with exclusive role and made sure that's the only role this user has.

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [December 17, 2019, 2:34pm UTC](https://discuss.elastic.co/t/dashboard-only-role-shows-all-applications-in-the-menu/211722/4 "2019-12-17T14:34:36Z")

</div>

Hey @saif3r, after logging into Kibana with the user that is supposed to only see Dashboards, do you mind running the following two queries in DevTools and posting their response?

`GET _security/_authenticate`

`GET _security/user/_privileges`

---

<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:** [January 14, 2020, 2:34pm UTC](https://discuss.elastic.co/t/dashboard-only-role-shows-all-applications-in-the-menu/211722/5 "2020-01-14T14:34:40Z")

</div>

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