You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by ab...@apache.org on 2021/03/24 01:54:01 UTC

[ranger] branch ranger-2.2 updated: RANGER-3220: Zone name is not getting populated for tag based policy

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

abhay 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 2c83213  RANGER-3220: Zone name is not getting populated for tag based policy
2c83213 is described below

commit 2c8321353265fa55287051a56c80fd15a6e939ad
Author: Abhay Kulkarni <ab...@apache.org>
AuthorDate: Tue Mar 23 18:52:22 2021 -0700

    RANGER-3220: Zone name is not getting populated for tag based policy
---
 .../src/main/java/org/apache/ranger/plugin/service/RangerBasePlugin.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/agents-common/src/main/java/org/apache/ranger/plugin/service/RangerBasePlugin.java b/agents-common/src/main/java/org/apache/ranger/plugin/service/RangerBasePlugin.java
index 1be440b..a7c4c97 100644
--- a/agents-common/src/main/java/org/apache/ranger/plugin/service/RangerBasePlugin.java
+++ b/agents-common/src/main/java/org/apache/ranger/plugin/service/RangerBasePlugin.java
@@ -880,6 +880,7 @@ public class RangerBasePlugin {
 			result.setPolicyId(chainedResult.getPolicyId());
 			result.setPolicyVersion(chainedResult.getPolicyVersion());
 			result.setPolicyPriority(chainedResult.getPolicyPriority());
+			result.setZoneName(chainedResult.getZoneName());
 		}
 
 		if (!result.getIsAuditedDetermined() && chainedResult.getIsAuditedDetermined()) {