tooptoop4 opened a new issue #10093: URL: https://github.com/apache/incubator-superset/issues/10093
current behaviour: 1. Presto datasource can be setup by an admin in superset ui, with impersonation ticked 2. Normal users can then login to superset ui and run queries in SQLlab (even though they never created the datasource, their username is being sent to presto since impersonation was enabled) proposal: 3. I assume since the user logged into superset UI via LDAP, that superset/flask component has their username/password in memory, and can then send these to presto in the X-Presto-Extra-Credential header (this is needed so the presto jdbc catalogs are being queried as the user logged in to superset) ie superset > presto > some sqlserver/oracle.etc catalog to presto See https://github.com/prestosql/presto/issues/4006#issuecomment-643795271 https://github.com/prestosql/presto-python-client/issues/6 ---------------------------------------------------------------- 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]
