maver1ck opened a new issue #4352: Newly created datasource should be accessible be creator URL: https://github.com/apache/incubator-superset/issues/4352 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 0.22.1 ### Expected results When user without all datasource access is creating datasource (using visualize button in SQL Lab) the datasource should be accessible to this user. ### Actual results ``` This endpoint requires the datasource test-hadoop-Untitled Query 2-HJG51B-DUf, database or `all_datasource_access` permission You do not have permissions to access the datasource(s): test-hadoop-Untitled Query 2-HJG51B-DUf. ``` ### Steps to reproduce 1) Create user with Gamma and sql_lab roles 2) Run query in SQL Lab 3) Click Visualize button then Visualize 4) Watch No Access! page
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
