You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an Admin user, create a chart on a dataset for which another non-admin user does not have access to
Capture the slide_id of the chart.
Login as a non-admin user. Notice that in the 'Charts' list page, the newly created chart is not visible since the dataset accessed by the chart is not visible to this non-admin user.
I believe this is fixed in #24789 but didn't make it to 2.1.1
You can ask to include it in 2.1.2 (once its discussion thread starts) or upgrade to 3.0.0
I'm not sure if this is still an issue in current versions of Superset (3.x). If it is, we can re-open this, or feel free to open a new issue with updated context and a reproducible case using example data. We're no longer supporting Superset 2.x or prior, and it's been a while since this thread saw any activity, so I'm closing this as stale.
How to reproduce the bug
Expected results
The chart should not be rendered, since it clearly violates the permissions.
Actual results
what actually happens.
The chart gets rendered along with the data, and user is able to save the chart.
Environment
(please complete the following information):
Checklist
Make sure to follow these steps before submitting your issue - thank you!
Additional context
Even in the latest code base, this line here:
superset/superset/views/utils.py
Line 216 in 8553b06
does not check any other permissions.
The text was updated successfully, but these errors were encountered: