You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@superset.apache.org by gi...@git.apache.org on 2017/10/12 00:42:01 UTC

[GitHub] afernandez commented on a change in pull request #3652: Authentication: Enable user impersonation for Superset to HiveServer2 using hive.server2.proxy.user (a.fernandez)

afernandez commented on a change in pull request #3652: Authentication: Enable user impersonation for Superset to HiveServer2 using hive.server2.proxy.user (a.fernandez)
URL: https://github.com/apache/incubator-superset/pull/3652#discussion_r144171477
 
 

 ##########
 File path: superset/db_engine_specs.py
 ##########
 @@ -184,6 +186,28 @@ def select_star(cls, my_db, table_name, schema=None, limit=100,
             sql = sqlparse.format(sql, reindent=True)
         return sql
 
+    @classmethod
+    def modify_url_for_impersonation(cls, url, impersonate_user, username):
 
 Review comment:
   Base class has methods for how to modify a URI and URL object for impersonation
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services