Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Superset individual dashboard permission

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'.

like image 508
Nurul Akter Towhid Avatar asked Jan 02 '23 11:01

Nurul Akter Towhid


2 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, that's it.

  3. Setup user, give rules (number 1)

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

like image 173
Anugrah Prahasta Avatar answered Jan 21 '23 06:01

Anugrah Prahasta


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.

like image 38
Jonathan Hult Avatar answered Jan 21 '23 06:01

Jonathan Hult