ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From misaki mei via Review Board <nore...@reviews.apache.org>
Subject Review Request 68290: RANGER-2185:when user has access to some of Hive databases, execute command 'show databases' will show the access databases
Date Fri, 10 Aug 2018 08:56:48 GMT

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

Review request for ranger.


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


Repository: ranger


Description
-------

When a user execute 'show databases;' via hive, ranger hive plugin should check if the user
has any databases to access but not all(*).


Diffs
-----

  agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerAccessResource.java
2ee616a1b 
  agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerAccessResourceImpl.java
580048627 
  agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerAccessResourceReadOnly.java
18bb1f44f 
  agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerPolicyRepository.java
23d1efa15 
  agents-common/src/main/java/org/apache/ranger/plugin/policyresourcematcher/RangerDefaultPolicyResourceMatcher.java
415263eef 
  hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizer.java
3ed79df83 


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


Testing
-------

Tesetd with local env.


Thanks,

misaki mei


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message