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

Review request for ranger and Madhan Neethiraj.


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


Repository: ranger


Description
-------

If both tag and resource data-mask policies match accessed hive resource, 
mask-specification in the resource policy is always used. The audit log record 
is inconsistent in that it contains tag-policy-id as determining data-mask 
policy, but the masking specification is from resource policy.


Diffs
-----

  
agents-common/src/main/java/org/apache/ranger/plugin/policyevaluator/RangerDefaultDataMaskPolicyItemEvaluator.java
 557dd0a7d 
  
agents-common/src/main/java/org/apache/ranger/plugin/policyevaluator/RangerDefaultPolicyEvaluator.java
 c3a9760ff 
  
agents-common/src/main/java/org/apache/ranger/plugin/policyevaluator/RangerDefaultRowFilterPolicyItemEvaluator.java
 26ded0e18 


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


Testing
-------

Tested with local VM.


Thanks,

Abhay Kulkarni

Reply via email to