jgluna commented on issue #15836:
URL: https://github.com/apache/superset/issues/15836#issuecomment-885266569


   Hi @rumbin, thanks, that did the trick!!
   
   Here is a simple mutator for whoever run into this in the future, just add 
this in your superset_config.py and when you create the Database connection 
make sure to enable `Advanced->Other->Impersonate Logged In User`
   
   ```def DB_CONNECTION_MUTATOR(uri, params, username, security_manager, 
source):
       logger.info("mutator working")
       logger.info("username")
       logger.info(username)
   
       uri.username = username
       logger.info(uri)
   
       return uri, params```
   
   


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