This is an automated email from the ASF dual-hosted git repository.

abhay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ranger.git


The following commit(s) were added to refs/heads/master by this push:
     new 1debdbc  RANGER-3397: Update ACL computation to (optionally) expand 
Ranger Roles to users and groups and include chained-plugins in ACL computation 
- Part 2
1debdbc is described below

commit 1debdbcdec23c6688d4589253e75a32a894659c3
Author: Abhay Kulkarni <ab...@apache.org>
AuthorDate: Fri Oct 1 12:44:52 2021 -0700

    RANGER-3397: Update ACL computation to (optionally) expand Ranger Roles to 
users and groups and include chained-plugins in ACL computation - Part 2
---
 .../ranger/plugin/policyevaluator/RangerDefaultPolicyEvaluator.java     | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/agents-common/src/main/java/org/apache/ranger/plugin/policyevaluator/RangerDefaultPolicyEvaluator.java
 
b/agents-common/src/main/java/org/apache/ranger/plugin/policyevaluator/RangerDefaultPolicyEvaluator.java
index d25e306..c80050c 100644
--- 
a/agents-common/src/main/java/org/apache/ranger/plugin/policyevaluator/RangerDefaultPolicyEvaluator.java
+++ 
b/agents-common/src/main/java/org/apache/ranger/plugin/policyevaluator/RangerDefaultPolicyEvaluator.java
@@ -138,6 +138,8 @@ public class RangerDefaultPolicyEvaluator extends 
RangerAbstractPolicyEvaluator
                if(policy != null) {
                        validityScheduleEvaluators = 
createValidityScheduleEvaluators(policy);
 
+                       this.disableRoleResolution = 
options.disableRoleResolution;
+
                        if 
(!options.disableAccessEvaluationWithPolicyACLSummary) {
                                aclSummary = createPolicyACLSummary();
                        }

Reply via email to