liamnv opened a new issue #13689: URL: https://github.com/apache/superset/issues/13689
A clear and concise description of what the bug is. I'm create a role to access a database schema, assign this role to a user, but user can query this table in `CREATEA TABLE AS ### Expected results User can run this query ### Actual results Superset return you need access to the following tables: xxx, all_database_access or all_datasource_access #### Screenshots <img width="1497" alt="Screen Shot 2021-03-18 at 15 55 14" src="https://user-images.githubusercontent.com/8578629/111611882-7f814f80-880f-11eb-8801-7b7d052a451e.png"> <img width="1173" alt="Screen Shot 2021-03-18 at 15 55 20" src="https://user-images.githubusercontent.com/8578629/111611899-84de9a00-880f-11eb-839a-663d0e6315f0.png"> #### How to reproduce the bug 1. Connect Superset to Trino 2. Add database A & B from Trino to Superset 3. Create Role `test`, assign permission `schema acccess con A.xxx`, assign to user X 4. Run query similar to screenshot ### Environment - superset version: 1.0.1 - python version: 3.8 ### 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]
