syamat opened a new issue #14901: URL: https://github.com/apache/superset/issues/14901
When running a query against a opendistro instance (both in Chart and SQL Lab) all the records are fetched even though Document Level Security is applied on the index. ### Expected results The query should run using the logged in user and not the user which is used to connect to the database. ### Actual results The query is run using the user that connects to the database instead of the logged in user which is also present in the opendistro instance. #### Screenshots If applicable, add screenshots to help explain your problem. #### How to reproduce the bug 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error ### Environment (please complete the following information): - superset version: `1.1.0` - python version: `Python 3.8.5` - node.js version: `v14.15.5` ### Checklist Make sure to follow these steps before submitting your issue - thank you! - [ ] I have checked the superset logs for python stacktraces and included it here as text if there are any. - [ ] I have reproduced the issue with at least the latest released version of superset. - [ ] 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]
