superset icon indicating copy to clipboard operation
superset copied to clipboard

User should not be able to view dashboards created by other users

Open pr0m3th3us opened this issue 9 years ago • 6 comments

Issue

User should be able to view Dashboards created by himself/herself only. User should not be able to view dashboards created by other users.

  • [ x] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version

0.17.4

Expected results

User1 cannot view dashboards(d1, d2, d3) created by User2(d4, d5, d6)

Actual results

User1 can view dashboards created by User2

Steps to reproduce

Create 2 users, both have same roles. Both can view (and edit) each others dashboards. This should not happen in my use case.

pr0m3th3us avatar May 22 '17 06:05 pr0m3th3us

What kind of users are these?

xrmx avatar May 22 '17 07:05 xrmx

I have created non-admin users based on custom roles (as in they have access to specific tables only). They can be listed here: http://{superset-host}:{port}/users/list/

Now what I want is that, if user1 creates dasboards d1,d2,d3 and user2 creates d4,d5,d6, then user2 should not be able to access d1,d2,d3 and vice versa.

image

pr0m3th3us avatar May 22 '17 07:05 pr0m3th3us

Alpha users can see all data sources. Gamma users can only see the sources that they have been granted access to.

mistercrunch avatar May 22 '17 18:05 mistercrunch

What about the case where user1 and user2 are both gamma users. Both users' dashboards have slices from the same datasources (possibly created by applying different filters, or by moving some graphs around). Can we still restrict access in some way so that user1 is not able to view user2's created dashboards?

gdeepali avatar Nov 21 '17 11:11 gdeepali

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 Apr 11 '19 06:04 stale[bot]

Same issue here.. I also need help on this one.

agabardo avatar Aug 22 '19 01:08 agabardo