codenamelxl opened a new issue #14294: URL: https://github.com/apache/superset/issues/14294
When user is only granted schema access, preview query is generated in from of `SCHEMA_NAME`.TABLE_NAME which failed the query. ### Expected results Preview query success when user only have schema access. ### Actual results Preview query failed #### Screenshots  #### How to reproduce the bug 1. Grant only schema access to user 2. Go to SQLLab 3. Choose the DB and the granted schema 4. Choose any table. 5. See the error. ### Environment (please complete the following information): - superset version: `> 1.1 (current master) (<1.1 should also have this problem)` - python version: `3.7` ### Checklist Make sure to follow these steps before submitting your issue - thank you! - [x] I have checked the superset logs for python stacktraces and included it here as text if there are 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. ### Additional context Add any other context about the problem here. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
