Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to give just dashboard view access to users in Supreset #5483

Closed
awsiotdemo opened this issue Jul 25, 2018 · 28 comments
Closed

Need to give just dashboard view access to users in Supreset #5483

awsiotdemo opened this issue Jul 25, 2018 · 28 comments
Labels
inactive Inactive for >= 30 days

Comments

@awsiotdemo
Copy link

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

@sebastianwindeck
Copy link

sebastianwindeck commented Jul 26, 2018

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

@awsiotdemo
Copy link
Author

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

@sabinegthomsen
Copy link

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.

@D-Mahajan
Copy link

+1. Similar situation.

@srggrs
Copy link
Contributor

srggrs commented May 21, 2019

@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

@mistercrunch
Copy link
Member

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

@stale
Copy link

stale bot commented Jul 20, 2019

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 stale bot added the inactive Inactive for >= 30 days label Jul 20, 2019
@mistercrunch mistercrunch changed the title Need to give just dashboard view access to users in Spreset Need to give just dashboard view access to users in Supreset Jul 23, 2019
@stale stale bot removed the inactive Inactive for >= 30 days label Jul 23, 2019
@orangle
Copy link

orangle commented Aug 5, 2019

+1. Similar situation.

1 similar comment
@agabardo
Copy link

+1. Similar situation.

@stale
Copy link

stale bot commented Oct 21, 2019

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 stale bot added the inactive Inactive for >= 30 days label Oct 21, 2019
@stale stale bot closed this as completed Oct 28, 2019
@dominijk
Copy link

dominijk commented Nov 1, 2019

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

@GuillermoCastano
Copy link

I have the same need.

@shawnz42
Copy link

Same need +1.

@iercan
Copy link
Contributor

iercan commented Jul 9, 2020

We have same need too.

@keeyong
Copy link

keeyong commented Jul 28, 2020

+1

@tommy-couzens
Copy link

+2

@essiTo
Copy link

essiTo commented Sep 8, 2020

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

@Ashwini7
Copy link

Ashwini7 commented Oct 6, 2020

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

@amitmiran137
Copy link
Member

@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

@Ashwini7
Copy link

Ashwini7 commented Oct 7, 2020

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.

@aleksarias
Copy link

Here's a reference link to SIP-51 #10408

@jinyuanlu
Copy link

+1. Looking forward to it.

1 similar comment
@Agnoos
Copy link

Agnoos commented Dec 8, 2020

+1. Looking forward to it.

@MK0820
Copy link

MK0820 commented Jan 28, 2021

+1.Same need.

@jefo2k
Copy link

jefo2k commented Mar 2, 2021

+1 with the same need

@zhouhanc
Copy link

+1 same here. Is there a solution now

@nico-hernandez
Copy link

+1 has it been solved? Thanks in advance.

@AOphagen
Copy link

+1 , need to prepare read-only dashboards for users

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inactive Inactive for >= 30 days
Projects
None yet
Development

No branches or pull requests