# User creation - View only Dashboards

**URL:** <https://forum.opensearch.org/t/user-creation-view-only-dashboards/3738>\
**Category:** Open Source Elasticsearch and Kibana\
**Created:** [September 11, 2020, 9:00am UTC](https://forum.opensearch.org/t/user-creation-view-only-dashboards/3738 "2020-09-11T09:00:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![geopat](https://avatars.discourse-cdn.com/v4/letter/g/edb3f5/32.png) [@geopat](https://forum.opensearch.org/u/geopat)\
**Post date:** [September 11, 2020, 9:00am UTC](https://forum.opensearch.org/t/user-creation-view-only-dashboards/3738/1 "2020-09-11T09:00:55Z")

</div>

Hello,

What I want to do is the following:

- Create a new User which can only see Dashboards (read only).
- Only Dashboards in the menu.
- Only Dashboards in the GUI.
- I have 2 indexes and 2 Dashboards.

I’ve been trying for 2 months reading forums and trying my self, but nothing yet.

Multi-tenancy = False  
Opendistro version: 1.9.0

---

<div class="post-metadata">

**Author:** ![stmx38](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/stmx38/32/4354_2.png) [@stmx38](https://forum.opensearch.org/u/stmx38)\
**Post date:** [September 11, 2020, 3:20pm UTC](https://forum.opensearch.org/t/user-creation-view-only-dashboards/3738/2 "2020-09-11T15:20:57Z")

</div>

Hello @geopat,

It is something like this [How to hide Kibana menu for user?](https://forum.opensearch.org/t/how-to-hide-kibana-menu-for-user/861) ?

---

<div class="post-metadata">

**Author:** ![geopat](https://avatars.discourse-cdn.com/v4/letter/g/edb3f5/32.png) [@geopat](https://forum.opensearch.org/u/geopat)\
**Post date:** [September 11, 2020, 11:18pm UTC](https://forum.opensearch.org/t/user-creation-view-only-dashboards/3738/3 "2020-09-11T23:18:01Z")

</div>

I did the exact steps in this forum and nothing works

---

<div class="post-metadata">

**Author:** ![stmx38](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/stmx38/32/4354_2.png) [@stmx38](https://forum.opensearch.org/u/stmx38)\
**Post date:** [September 12, 2020, 5:50am UTC](https://forum.opensearch.org/t/user-creation-view-only-dashboards/3738/4 "2020-09-12T05:50:17Z")

</div>

Probably, yes. Because in the current OD model there is not way to limit users to the certain panels like Discovery, Visualisations, Dashboards, etc… And a [new model is still in progress](https://github.com/opendistro-for-elasticsearch/security-kibana-plugin/issues/160).

Did you try a [custom plugin](https://github.com/drlight17/kibana-menu-hide) mentioned in the thread above?

---

<div class="post-metadata">

**Author:** ![GSmith](https://avatars.discourse-cdn.com/v4/letter/g/bbe5ce/32.png) [@GSmith](https://forum.opensearch.org/u/GSmith)\
**Post date:** [September 13, 2020, 7:24pm UTC](https://forum.opensearch.org/t/user-creation-view-only-dashboards/3738/5 "2020-09-13T19:24:12Z")

</div>

@geopat I have been able to create read-only Kibana users but there were two “tricks” to getting it to work. First, you need to grant the read-only user the Cluster permissions of “cluster\_composite\_ops\_ro”. This is in addition to any other action group/permissions you might need (e.g. to access a particular index).

Second, you need to set the do\_not\_fail\_on\_forbidden property to “true” in the Elasticsearch config.yml file. If this is NOT set to “true”, any attempt to access indexes via dashboards will result in ERROR messages.

---

<div class="post-metadata">

**Author:** ![geopat](https://avatars.discourse-cdn.com/v4/letter/g/edb3f5/32.png) [@geopat](https://forum.opensearch.org/u/geopat)\
**Post date:** [September 14, 2020, 7:39am UTC](https://forum.opensearch.org/t/user-creation-view-only-dashboards/3738/6 "2020-09-14T07:39:24Z")

</div>

Thanks for your time!

This is not working since I’m not hiding the options to the user.  
Also dashboards are still empty not showing.

I cant understand why this is so difficult since Opendistro is hardened for security.  
This is a major issue, hide and unhide items it’s a must!
