Superset individual dashboard permission

Viewed 10255

Is it possible to set permission on a specific dashboard? Like only 'user1' and 'user2' will view/see 'dashboard1' and others will not see 'dashboard1'.

4 Answers

Yes, 1. Setup role (rules) : my trick is copy gamma rules, rename, 2. edit permission, just type your dashboard name, youll find : datasource:your dashboard name, add that, thats it. 3. Setup user, give rules (number 1)

Your new user will able to see the specific dashboard you point (number 2)

As of Spring/Summer of 2021, there is a feature flag, DASHBOARD_RBAC, to manage which roles can access the dashboard. See this GitHub issue for more details.

Non-owner user access can be managed two different ways:

  1. Dataset permissions - if you add to the relevant role permissions to datasets it automatically grants implicit access to all dashboards that uses those permitted datasets
  2. Dashboard roles - if you enable DASHBOARD_RBAC feature flag then you be able to manage which roles can access the dashboard

Having dashboard access implicitly grants read access to the associated datasets, therefore all charts will load their data even if feature flag is turned on and no roles assigned to roles the access will fallback to Dataset permissions.

Edit the dashboard and you will find the Owners sections, add the user names for whom you want to give the access. Now login with the user and you will able to see the dashboard.

Steps to Give dashboard permission to the particular user.

Step - 1: enter image description here

Step - 2: Click the + button on your right

Step - 3: Give the Unique name in name field for identification for example demo_dashboard_reader and choose the data source in permissions field. then click save. enter image description here

Step - 4: Go to security and click list users (see the image in step-1). Filter the user you want to give permission of this dashboard and click edit. choose the role that you created in step-3 (demo_dahboard_reader) in my case and click save. Now only the chosen user can able to view the particular dashboard.

Step - 5: Repeat the step-4 to give permission to other users.

Related