ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alok Lal <a...@hortonworks.com>
Subject 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 00:58:04 GMT

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

Review request for ranger and Madhan Neethiraj.


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
-----

  agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerPolicyEngineImpl.java
92481f6 

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