ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sneet...@apache.org
Subject git commit: ARGUS-37:Delegated Admin should NOT be able to modify base policy
Date Fri, 05 Sep 2014 02:50:35 GMT
Repository: incubator-argus
Updated Branches:
  refs/heads/master 65c4c17f4 -> b0ea201ff


ARGUS-37:Delegated Admin should NOT be able to modify base policy

Signed-off-by: sneethiraj <sneethir@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-argus/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-argus/commit/b0ea201f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-argus/tree/b0ea201f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-argus/diff/b0ea201f

Branch: refs/heads/master
Commit: b0ea201ff7fb58a836c5622f7b0486eff954eced
Parents: 65c4c17
Author: vperiasamy <vperiasamy@hortonworks.com>
Authored: Thu Sep 4 18:18:28 2014 -0400
Committer: sneethiraj <sneethir@apache.org>
Committed: Thu Sep 4 22:50:22 2014 -0400

----------------------------------------------------------------------
 .../src/main/java/com/xasecure/biz/XABizUtil.java    | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/b0ea201f/security-admin/src/main/java/com/xasecure/biz/XABizUtil.java
----------------------------------------------------------------------
diff --git a/security-admin/src/main/java/com/xasecure/biz/XABizUtil.java b/security-admin/src/main/java/com/xasecure/biz/XABizUtil.java
index d86ac27..a9849da 100644
--- a/security-admin/src/main/java/com/xasecure/biz/XABizUtil.java
+++ b/security-admin/src/main/java/com/xasecure/biz/XABizUtil.java
@@ -644,6 +644,9 @@ public class XABizUtil {
 							}
 						}
 						}
+						if(!matchFound) {
+							break;
+						}
 					} // check whether given column family resource matches with
 						// any existing column family resource
 					else if (index == 1) {
@@ -656,6 +659,9 @@ public class XABizUtil {
 							}
 						}
 						}
+						if(!matchFound) {
+							break;
+						}
 					}// check whether given column resource matches with any
 						// existing column resource
 					else if (index == 2) {
@@ -667,6 +673,9 @@ public class XABizUtil {
 							}
 						}
 						}
+						if(!matchFound) {
+							break;
+						}
 					}
 				}
 				if (matchFound) {
@@ -1141,6 +1150,9 @@ public class XABizUtil {
 							}
 						}
 						}
+						if(!matchFound) {
+							break;
+						}
 					} // check whether given service resource matches with
 						// any existing service resource
 					else if (index == 1) {
@@ -1153,6 +1165,9 @@ public class XABizUtil {
 							}
 						}
 						}
+						if(!matchFound) {
+							break;
+						}
 					}
 				}
 				if (matchFound) {


Mime
View raw message