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

(Updated Aug. 25, 2023, 4:46 p.m.)


Review request for ranger, madhan, Madhan Neethiraj, Mehul Parikh, Pradeep 
Agrawal, Ramesh Mani, Sailaja Polavarapu, and Velmurugan Periasamy.


Changes
-------

Added details of the JIRA.


Summary (updated)
-----------------

RANGER-4378: Expand implied grants in the policy-items for being able to 
compare policy-cache dumps from server and client


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


Repository: ranger


Description (updated)
-------

Expand implied grants in the policy-items for being able to compare 
policy-cache dumps from server and client. It is difficult to compare these 
dumps because implied-grants are processed are processed differently.

Also, currently, the expansion of implied grants is done at the initialization 
of the policy-engine for each policy-item in every policy. This is expensive, 
as the computation of implied-grants depends on the service-definition and may 
be done only once during construction of a policy-engine.


Diffs
-----

  agents-common/src/main/java/org/apache/ranger/plugin/model/RangerPolicy.java 
9e5a94b1a 
  
agents-common/src/main/java/org/apache/ranger/plugin/policyengine/PolicyEngine.java
 1e99b5824 
  
agents-common/src/main/java/org/apache/ranger/plugin/policyevaluator/RangerAbstractPolicyItemEvaluator.java
 0f09952f7 
  
agents-common/src/main/java/org/apache/ranger/plugin/policyevaluator/RangerAuditPolicyEvaluator.java
 ba24b8c3e 
  
agents-common/src/main/java/org/apache/ranger/plugin/policyevaluator/RangerDefaultPolicyEvaluator.java
 4ad2944a8 
  
agents-common/src/main/java/org/apache/ranger/plugin/policyevaluator/RangerDefaultPolicyItemEvaluator.java
 3510ad144 
  
agents-common/src/main/java/org/apache/ranger/plugin/policyevaluator/RangerOptimizedPolicyEvaluator.java
 e50eb5f54 
  
agents-common/src/main/java/org/apache/ranger/plugin/policyevaluator/RangerPolicyEvaluator.java
 f130e2491 
  
agents-common/src/main/java/org/apache/ranger/plugin/policyevaluator/RangerPolicyItemEvaluator.java
 1a2ea4c9e 


Diff: https://reviews.apache.org/r/74547/diff/4/


Testing
-------

Passes all unit tests.


Thanks,

Abhay Kulkarni

Reply via email to