superset icon indicating copy to clipboard operation
superset copied to clipboard

Dashboard Security

Open ganesh8614 opened this issue 7 years ago • 6 comments

We have Two Dashboards, Dashboard A and Dashboard B and Groups like Group A, Group B, Group C and Group D

We have requirement to implement the below:

Group A should have access to Dashboard A Group B should have access to Dashboard B Group C should have access to both Dashboard A & Dashboard B Group D should not have access to any Dashboards

Also we are unable to assign a Role to the Dashboard permissions

Appreciate your quick response

ganesh8614 avatar Aug 01 '19 13:08 ganesh8614

Issue-Label Bot is automatically applying the label #enhancement to this issue, with a confidence of 0.61. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar Aug 01 '19 13:08 issue-label-bot[bot]

You ll need to gain access do the correspoding data sources for each group.

miloradkrstevski avatar Aug 07 '19 16:08 miloradkrstevski

I also wish they add permissions to Charts. This way, we can reuse the charts in other dashboards without recreating the same charts.

hinzinho avatar Aug 07 '19 16:08 hinzinho

Add the chart to other dash but gain access to data source.

miloradkrstevski avatar Aug 07 '19 16:08 miloradkrstevski

Per-dashboard permissions is likely to get implemented in the future, meaning you could have access to a certain dashboard, but not to the underlying datasource(s), and couldn't go and "explore" deeper from the dashboard.

It's also likely that we'll implement row-level security in the future, which would force certain predicates (aka filters) based on perms.

The reason why it is the way it is currently is:

  • we wanted a [somewhat] simple security model
  • we wanted users to be able to drill in or explore deeper and answer their own questions as a core flow

Currently all perms (datasource, database, schema) are implemented as different types of FAB (flask app builder) permissions that can be composed into FAB roles. In the future, we may want to overload FAB roles to have to many-to-many relationships to these other models, to get a more comprehensive / structured roles management form.

mistercrunch avatar Aug 08 '19 05:08 mistercrunch

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

stale[bot] avatar Oct 07 '19 06:10 stale[bot]