This is an automated email from the ASF dual-hosted git repository.
spolavarapu 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 9d3c1eb RANGER-3007: Set the exclude flag to false for volume
resource for the exisitng policies during upgrade
9d3c1eb is described below
commit 9d3c1eb1b5f0d7c7b73dc0a870df214dc055fad7
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