'kibana how to give Role or Access to user to see Only One Single Dashboard?

enter image description here

These are the Dashboards I created using Vizualisations. Lets say When User SignIn to KIbana, It should display only one Dashboard based on role.

Eg: I want to show App Analytics Dashboard to one person and Order Payment Analytics Dashboard to another Person with different Role. etc.



Solution 1:[1]

You need to have X-Pack Security in order to leverage the kibana_dashboard_only_user role + another role that gives access to only a selected list of dashboards for that user.

Solution 2:[2]

Yes you need X-pack, On top of that you can allow access to certain dashboards by create a role Associate the index that the dashboards uses Assign the role to the users along with the Dashboard_only_user role.

But you cant hide the other dashboards name from being displayed in the dashboard menu, its just gonna be empty if they dont have access to that dashboard

Solution 3:[3]

Follow the below steps.

  1. create a space in "Spaces" under stack management.
  2. export the Saved Objects of the dashbaord with its related objects from the existing space (default)
  3. import that saved object to your new space.
  4. Create a viewer role with the new space you created.
  5. assign that to your user.
  6. done!

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Val
Solution 2 Dchan
Solution 3 Souvik Das