ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alok Lal <a...@hortonworks.com>
Subject Re: Review Request 44744: Scrub received policies before policy engine uses it to guard against inadvertant data corruption: remove null policy resource values
Date Sat, 12 Mar 2016 01:26:47 GMT

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

(Updated March 11, 2016, 5:26 p.m.)


Review request for ranger and Madhan Neethiraj.


Changes
-------

Moved to just before policy evaluator creation to deal with both tag and resource based policies.


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


Repository: ranger


Description
-------

Scrub null values from policy resource before policy evaluators use them.


Diffs (updated)
-----

  agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerPolicyRepository.java
e79b5cd 

Diff: https://reviews.apache.org/r/44744/diff/


Testing
-------

Reproduced the problem and tested the fix in an older version of the code.  Checked that WARNING
messsages shows up containing the policy id and resource level to identify the problem source.

Apache JIRA seems to be down currently.  I'll update it with review request once I can get
at it.


Thanks,

Alok Lal


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