superset icon indicating copy to clipboard operation
superset copied to clipboard

Need to give just dashboard view access to users in Supreset

Open awsiotdemo opened this issue 8 years ago • 28 comments

Make sure these boxes are checked before submitting your issue - thank you!

  • [Y ] I have checked the superset logs for python stacktraces and included it here as text if any
  • [Y] I have reproduced the issue with at least the latest released version of superset
  • [Y ] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version

0.26.3

Expected results

Need to give just dashboard vieweing rights and dashboard download rights to users

Actual results

After giving Gamma role access to users, users are not able to see any dashboard

Steps to reproduce

awsiotdemo avatar Jul 25 '18 14:07 awsiotdemo

Gamma rights do not include access rights to datasources and tables.

If you want a certain user group add a Role i.e. "VIEWER" with the access rights of the datasources you want them to access (in the dashboard). Secondly, add the role "VIEWER" to the regarding users.

You could add this permission: "all datasource access on all_datasource_access" or you could add individually "datasource access on [database].table" for each datasource

sebastianwindeck avatar Jul 26 '18 21:07 sebastianwindeck

Thanks Sebastian. by adding "datasource access on all_datasource_access". Gamma users can view dashboard but my problem statement is that I have users to whom I have to give only dashboard viewing and download rights. I tried to look for the solution in previous threads, but couldn't find the right solution. Need to know what all permissions are required to achieve this functionality

awsiotdemo avatar Jul 31 '18 11:07 awsiotdemo

Any updates on this? I am in a similar position, as I want to create a role with (only) viewing permission to a single dashboard. Which permissions need to be added to this "VIEWER" role in order for them to see the specific dashboard?

The permission "all datasource access on all_datasource_access" is not enough.

sabinegthomsen avatar Apr 10 '19 13:04 sabinegthomsen

+1. Similar situation.

D-Mahajan avatar Apr 12 '19 06:04 D-Mahajan

@awsiotdemo you must give them permission on the table to show data and therefore download them, but you can create a role that can list and view dash board so the user will see only the dashboard of the table he can access to

srggrs avatar May 21 '19 03:05 srggrs

Currently you can only give access per database, schema or table. There's an open PR out there attempting to add this feature.

mistercrunch avatar May 21 '19 03:05 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 Jul 20 '19 03:07 stale[bot]

+1. Similar situation.

orangle avatar Aug 05 '19 06:08 orangle

+1. Similar situation.

agabardo avatar Aug 21 '19 23:08 agabardo

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 21 '19 00:10 stale[bot]

Same need, use case is that on dataset with 10's to hundreds of users new to dashboards there will soon be clutter it would be nice to explicitly share a dashboard to a role without assigning them as an editor. Ie. Big dashboard from which user forks Their Big dashboard version but the other users don't see that unless they are added in as editor

dominijk avatar Nov 01 '19 12:11 dominijk

I have the same need.

GuillermoCastano avatar May 01 '20 19:05 GuillermoCastano

Same need +1.

shawnz42 avatar May 19 '20 15:05 shawnz42

We have same need too.

iercan avatar Jul 09 '20 14:07 iercan

+1

keeyong avatar Jul 28 '20 02:07 keeyong

+2

tommy-couzens avatar Aug 18 '20 13:08 tommy-couzens

+1 same need here !! actually and clearly.. I don't want to give access of all Charts based on a same DataSource, to different users who should not see all table-fileds (like price, or starting-date columns). Other than giving access of datasource, what are my options? let's say.. I have a major and important table in DB (datasource) which 4-5 different Charts are made on its data.. but I want to give access to only 2 charts of all, in shape of a general Dashboard to low-level users.. and other 2 more private Charts to the manager.. How can I restrict access to Charts and Dashboards ?? not on Datasource only.

essiTo avatar Sep 08 '20 08:09 essiTo

+1 same challenge. Could you pls also suggest how to extend the role and permission in superset programmatically?

Ashwini7 avatar Oct 06 '20 04:10 Ashwini7

@Ashwini7 @essiTo We are working on a final proposal after a few discussions on SIP-51 After sip is approved we can move quickly in the implementation step

amitmiran137 avatar Oct 06 '20 19:10 amitmiran137

Nice! Thanks for the heads up. Looking forward to SIP-51. it looks exciting.

For now, I was able to configure the initial access as @sebastianwindeck mentioned.

Ashwini7 avatar Oct 07 '20 05:10 Ashwini7