# Hiding menu depending on role

**URL:** <https://forum.opensearch.org/t/hiding-menu-depending-on-role/16043>\
**Category:** OpenSearch Dashboards\
**Created:** [September 25, 2023, 5:45pm UTC](https://forum.opensearch.org/t/hiding-menu-depending-on-role/16043 "2023-09-25T17:45:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jsamuel12](https://avatars.discourse-cdn.com/v4/letter/j/e9bcb4/32.png) [@jsamuel12](https://forum.opensearch.org/u/jsamuel12)\
**Post date:** [September 25, 2023, 5:45pm UTC](https://forum.opensearch.org/t/hiding-menu-depending-on-role/16043/1 "2023-09-25T17:45:08Z")

</div>

Download the latest 2.9 version and trying to figure out if there’s a way to way I can “hide” certain elements from the menu for non-admins (ie. Opensearch Plugins, Management).

---

<div class="post-metadata">

**Author:** ![Gsmitt](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/gsmitt/32/1718_2.png) [@Gsmitt](https://forum.opensearch.org/u/Gsmitt)\
**Post date:** [September 27, 2023, 4:05am UTC](https://forum.opensearch.org/t/hiding-menu-depending-on-role/16043/2 "2023-09-27T04:05:53Z")

</div>

Hey @jsamuel12

Have you tried create roles?

> **[Users and roles](https://opensearch.org/docs/2.10/security/access-control/users-roles/)**
>
> Users and roles

Or permissions?

> **[Permissions](https://opensearch.org/docs/2.10/security/access-control/permissions/)**
>
> Permissions

---

<div class="post-metadata">

**Author:** ![jsamuel12](https://avatars.discourse-cdn.com/v4/letter/j/e9bcb4/32.png) [@jsamuel12](https://forum.opensearch.org/u/jsamuel12)\
**Post date:** [September 27, 2023, 6:35pm UTC](https://forum.opensearch.org/t/hiding-menu-depending-on-role/16043/3 "2023-09-27T18:35:08Z")

</div>

I tried creating a new role but still cannot figure out what permissions are required to allow non-admin users to only have discover and dashboard from the Opensearch Dashboard section. If I add the user to the role “kibana\_read\_only” , it will only let them see the dashboard that belongs to their tenant.
