superset icon indicating copy to clipboard operation
superset copied to clipboard

How to permit non-Admin role user to see Charts/Dashoards created by Admin role user?

Open CasperLiu opened this issue 8 years ago • 2 comments

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

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

Superset version

Superset 0.23.3

Expected results

We have an use case: admin role users would create Charts/Dashboards, and non-admin role users would need to see the Charts/Dashboards created by admin role users. Would this use case be satisfied by Superset's permission management?

Actual results

I haven't figured out how to do this.

Steps to reproduce

Please share how we could do this if Superset supports this kind of permission configuration.

Thanks a lot!!!

Regards, Jiaxu

CasperLiu avatar Mar 30 '18 08:03 CasperLiu

First, you can create a new role, then assign permission 'all database access on all_database_access' / 'all datasource access on all_datasource_access' to that role. You can use 'datasource_access_on[NAME]'/'database_access_on[NAME]' to control the data access in more fine grain way.

Second, assign 'Gamma'/'new role' to the new user.

singleye avatar Mar 31 '18 16:03 singleye

singleye,

Your nice direction works perfectly. :)

THANKS A LOT!!!

Regards, Jiaxu

CasperLiu avatar Apr 02 '18 02:04 CasperLiu