简体   繁体   English

kibana 如何授予用户角色或访问权限以仅查看一个仪表板?

[英]kibana how to give Role or Access to user to see Only One Single Dashboard?

在此处输入图像描述

These are the Dashboards I created using Vizualisations.这些是我使用 Vizualisations 创建的仪表板。 Lets say When User SignIn to KIbana, It should display only one Dashboard based on role.假设当用户登录 KIbana 时,它应该只显示一个基于角色的仪表板。

Eg: I want to show App Analytics Dashboard to one person and Order Payment Analytics Dashboard to another Person with different Role.例如:我想向一个人展示 App Analytics Dashboard,并向另一个具有不同角色的人展示 Order Payment Analytics Dashboard。 etc.等等

您需要具有X-Pack安全性才能利用kibana_dashboard_only_user角色+另一个角色,该角色仅允许该用户访问仪表板的选定列表。

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. 是的,您需要X-pack,此外,您还可以通过创建角色来允许访问某些仪表板。关联仪表板使用的索引将角色与Dashboard_only_user角色一起分配给用户。

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 但是您无法隐藏其他仪表板名称,使其无法显示在仪表板菜单中,如果它们无权访问该仪表板,则该名称将为空

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.将保存的 object 导入到您的新空间。
  4. Create a viewer role with the new space you created.使用您创建的新空间创建查看者角色。
  5. assign that to your user.将其分配给您的用户。
  6. done!完毕!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM