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 25a8c43  RANGER-2652: refactor policy-engine - #3 (delegate-admin 
filtering)
25a8c43 is described below

commit 25a8c43b92806042f3a9b6823be24006129bfcd3
Author: Abhay Kulkarni <[email protected]>
AuthorDate: Thu Nov 28 12:40:43 2019 -0800

    RANGER-2652: refactor policy-engine - #3 (delegate-admin filtering)
---
 .../src/main/java/org/apache/ranger/biz/RangerPolicyAdminCache.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/security-admin/src/main/java/org/apache/ranger/biz/RangerPolicyAdminCache.java
 
b/security-admin/src/main/java/org/apache/ranger/biz/RangerPolicyAdminCache.java
index 76dabb4..c6cd6b8 100644
--- 
a/security-admin/src/main/java/org/apache/ranger/biz/RangerPolicyAdminCache.java
+++ 
b/security-admin/src/main/java/org/apache/ranger/biz/RangerPolicyAdminCache.java
@@ -51,8 +51,8 @@ public class RangerPolicyAdminCache {
        final RangerPolicyAdmin getServicePoliciesAdmin(String serviceName, 
ServiceStore svcStore, RoleStore roleStore, SecurityZoneStore zoneStore, 
RangerPolicyEngineOptions options) {
                RangerPolicyAdmin ret = null;
 
-               if (serviceName == null || svcStore == null || roleStore == 
null || zoneStore == null) {
-                       LOG.warn("Cannot get policy-admin for null serviceName 
or serviceStore or roleStore or zoneStore");
+               if (serviceName == null || svcStore == null || roleStore == 
null) {
+                       LOG.warn("Cannot get policy-admin for null serviceName 
or serviceStore or roleStore");
 
                        return ret;
                }

Reply via email to