ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abhay Kulkarni <akulka...@hortonworks.com>
Subject Review Request 65418: Policy engine initialization does not create context enrichers in some cases
Date Tue, 30 Jan 2018 05:33:50 GMT

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

Review request for ranger and Madhan Neethiraj.


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


Repository: ranger


Description
-------

If no access policy evaluators are created, then policy engine does not create context enrichers.
Context enrichers need to be created if any type of evaluators exist in the policy engine.


Diffs
-----

  agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerPolicyRepository.java
1580766 
  agents-common/src/test/java/org/apache/ranger/plugin/policyengine/TestPolicyEngine.java
d4c16c1 
  agents-common/src/test/resources/policyengine/test_policyengine_tag_hive_mask.json PRE-CREATION



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


Testing
-------

Tested with local VM


Thanks,

Abhay Kulkarni


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