Arun Suresh created HIVE-7309:
---------------------------------

             Summary: Add query string to the HiveDriverFilterHookContext 
constructor
                 Key: HIVE-7309
                 URL: https://issues.apache.org/jira/browse/HIVE-7309
             Project: Hive
          Issue Type: Bug
          Components: Authorization
            Reporter: Arun Suresh


There are cases where more context is required by the {{HiveDriverFilterHook}} 
to make an authorization decision.

For eg. :
In the case of the "SHOW TABLES in some_db" command, currently only the current 
DB (the landing db when a user logs in .. or DB to which the user has switched 
to) is available in the {{HiveDriverFilterHookContext}}.
The target table, "some_db", in this example is also required.

One suggestion is to pass the complete query string in the hook context. since 
at that point, there are no query inputs available.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to