tooptoop4 opened a new pull request #9422: Fix user impersonation with presto
URL: https://github.com/apache/incubator-superset/pull/9422
 
 
   ### CATEGORY
   
   Choose one
   
   - [x] Bug Fix
   - [ ] Enhancement (new features, refinement)
   - [ ] Refactor
   - [ ] Add tests
   - [ ] Build / Development Environment
   - [ ] Documentation
   
   ### SUMMARY
   Fixes https://github.com/apache/incubator-superset/issues/9406
   PyHive 0.6.2 release includes https://github.com/dropbox/PyHive/pull/309 
making this change possible.
   In presto, credentials are authenticated against a 'principal', that 
principal can then impersonate a 'user' so queries can be executed with 
authorisation rules applied to the user (not the principal).
   Benefit: a single shared presto data source can be created in superset with 
a generic account (superuser aka the principal) in the presto connection. Then 
each user that logs into superset ui does not need to create new datasource, 
they can go straight to SQLLab and run presto queries on the shared datasource 
which are being authorised under their username.
   

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


With regards,
Apache Git Services

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

Reply via email to