ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Madhan Neethiraj <mad...@apache.org>
Subject Re: Review Request 66803: RANGER-2086: Resource data mask policy overrides when both tag and resource datamask policies match
Date Wed, 25 Apr 2018 23:15:39 GMT

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


Ship it!




Ship It!

- Madhan Neethiraj


On April 25, 2018, 9:23 p.m., Abhay Kulkarni wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/66803/
> -----------------------------------------------------------
> 
> (Updated April 25, 2018, 9:23 p.m.)
> 
> 
> 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
> 
>


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