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

spolavarapu pushed a commit to branch ranger-2.2
in repository https://gitbox.apache.org/repos/asf/ranger.git


The following commit(s) were added to refs/heads/ranger-2.2 by this push:
     new cfae5c3  RANGER-3007: Set the exclude flag to false for volume 
resource for the exisitng policies during upgrade
cfae5c3 is described below

commit cfae5c3cfba22d7a7baf68570c32ad65f8755609
Author: Sailaja Polavarapu <[email protected]>
AuthorDate: Tue Sep 22 10:10:51 2020 -0700

    RANGER-3007: Set the exclude flag to false for volume resource for the 
exisitng policies during upgrade
---
 .../org/apache/ranger/patch/PatchForOzoneServiceDefUpdate_J10041.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/security-admin/src/main/java/org/apache/ranger/patch/PatchForOzoneServiceDefUpdate_J10041.java
 
b/security-admin/src/main/java/org/apache/ranger/patch/PatchForOzoneServiceDefUpdate_J10041.java
index 28d0eb6..1bef108 100644
--- 
a/security-admin/src/main/java/org/apache/ranger/patch/PatchForOzoneServiceDefUpdate_J10041.java
+++ 
b/security-admin/src/main/java/org/apache/ranger/patch/PatchForOzoneServiceDefUpdate_J10041.java
@@ -277,7 +277,7 @@ public class PatchForOzoneServiceDefUpdate_J10041 extends 
BaseLoader {
                                                // Set recursive flag as false 
for volume resource
                                                
policyResources.get(OZONE_RESOURCE_VOLUME).setIsRecursive(false);
                                                // Set exclude support flag as 
true for volume resource
-                                               
policyResources.get(OZONE_RESOURCE_VOLUME).setIsExcludes(true);
+                                               
policyResources.get(OZONE_RESOURCE_VOLUME).setIsExcludes(false);
                                        }
                                        if 
(policyResources.containsKey(OZONE_RESOURCE_KEY)) {
                                                // Set is recursive flag as 
true for volume resource

Reply via email to