betodealmeida commented on issue #17074:
URL: https://github.com/apache/superset/issues/17074#issuecomment-972103980


   @Karlodun unfortunately I don't think this used to work the way you 
described. We only store the hash of the user password, and the impersonation 
has always worked by only replacing the username. Some databases have custom 
impersonation, but not Postgres.
   
   One way to get this working would be via the `DB_CONNECTION_MUTATOR` 
function in `superset_config.py`. You could write a function that replaces 
username and password in the SQL Alchemy URI based on the logged in user, but 
you would have to read the passwords from somewhere other than Superset.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to