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'.
5 Answers
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:
Dataset permissions
- if you add to the relevant role permissions to datasets it automatically grants implicit access to all dashboards that uses those permitted datasetsDashboard roles
- if you enableDASHBOARD_RBAC
feature flag then you be able to manage which roles can access the dashboardHaving 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
.

- 1,351
- 2
- 13
- 19
-
How can I enable `DASHBOARD_RBAC`? – Ravazz Apr 15 '22 at 15:03
-
1You can enable or disable feature flags from `superset_config.py`: https://superset.apache.org/docs/installation/configuring-superset/#feature-flags – Jonathan Hult Apr 20 '22 at 12:04
Yes,
Setup role (rules) : my trick is copy gamma rules, rename,
edit permission, just type your dashboard name, youll find : datasource:your dashboard name, add that, that's it.
Setup user, give rules (number 1)
Your new user will able to see the specific dashboard you point (number 2)

- 1,780
- 12
- 25
- 35

- 87
- 1
- 2
-
4As of v0.37, it seems you can only see datasources and not dashboards when editing permissions. – modpy Sep 17 '20 at 15:51
-
2Yes, correct, sorry, for dashboard, go to dashboard list, edit owner, put your secondary user in that owner name box, as for datasets, its required permissions at user roles, if you just put the name without the permissions, some data may chart or data may not be able to load – Anugrah Prahasta Sep 19 '20 at 00:56
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.

- 21
- 2
Steps to Give dashboard permission to the particular user.
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.
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.

- 41
- 1
- 6
View Access
To control who sees a dashboard, define an access role for the datasource associated with the dashboard content.
For example:
- create
role_1
with permissionsdatasource access on [my_db].[dash1_data]
. - Assign
user1
torole_1
andgamma
(standard user profile).
dashboard1
is now presented to user1
assuming it's based on dash1_data.
Write Access
To control which non-admin users can edit dashboards set the Dashboard Owner.
Dashboard List > Edit [dashboard1] > Access Owners
Add individual users to the owner list to provide write access to individual dashboards.

- 41
- 1
- 9