-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74069/
-----------------------------------------------------------

Review request for ranger, Abhishek  Kumar, Ankita Sinha, Kishor Gollapalliwar, 
Abhay Kulkarni, Pradeep Agrawal, Ramesh Mani, Sailaja Polavarapu, Subhrat 
Chaudhary, and Velmurugan Periasamy.


Bugs: RANGER-3840
    https://issues.apache.org/jira/browse/RANGER-3840


Repository: ranger


Description
-------

- updated Ranger Hive plugin to use database owner user while filtering 
databases list returned by SHOW DATABASES command
- also updated RangerHivePolicyProvider to ensure permissions returned for 
database takes database owner into account


Diffs
-----

  
hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizer.java
 86abdf7e6 
  
hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHivePolicyProvider.java
 ea95fd5ad 


Diff: https://reviews.apache.org/r/74069/diff/1/


Testing
-------

- verified that the databases owned by the user are included in the databases 
list returned by SHOW DATABASES command


Thanks,

Madhan Neethiraj

Reply via email to