ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Madhan Neethiraj <mad...@apache.org>
Subject Review Request 73374: RANGER-3296: updated getResourceACLs() to include data-masks and row-filters as well
Date Tue, 25 May 2021 08:51:03 GMT

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

Review request for ranger, Don Bosco Durai, Abhay Kulkarni, Ramesh Mani, Selvamohan Neethiraj,
Sailaja Polavarapu, and Velmurugan Periasamy.


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


Repository: ranger


Description
-------

- added fields rowFilters and dataMasks to RangerResourceACLs
- updated RangerBasePlugin.getResourceACLs() to populate above new fields


Diffs
-----

  agents-common/src/main/java/org/apache/ranger/plugin/model/RangerPolicy.java 3a6f416b3 
  agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerPolicyEngineImpl.java
75811b8e2 
  agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerResourceACLs.java
a0def5491 
  agents-common/src/main/java/org/apache/ranger/plugin/policyevaluator/RangerDefaultPolicyEvaluator.java
2edd992cf 
  agents-common/src/main/java/org/apache/ranger/plugin/policyevaluator/RangerPolicyEvaluator.java
c611b5e08 
  agents-common/src/test/java/org/apache/ranger/plugin/policyengine/TestPolicyACLs.java e1709ad94

  agents-common/src/test/resources/policyengine/ACLResourceTags.json 711190c9e 
  agents-common/src/test/resources/policyengine/test_aclprovider_data_mask.json PRE-CREATION



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


Testing
-------

- added unit tests to cover data-mask and row-filter use cases


Thanks,

Madhan Neethiraj


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