You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by rm...@apache.org on 2016/08/12 00:36:52 UTC

incubator-ranger git commit: RANGER-1148 : Ranger needs to map Storm ACL- debug, setLogConfig , getLogConfig to getTopologyInfo

Repository: incubator-ranger
Updated Branches:
  refs/heads/master a1b2ce540 -> cc1bb5a95


RANGER-1148 : Ranger needs to map Storm ACL- debug, setLogConfig , getLogConfig to getTopologyInfo


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

Branch: refs/heads/master
Commit: cc1bb5a95c36e5d5579742127c13d252b46154a8
Parents: a1b2ce5
Author: rmani <rm...@hortonworks.com>
Authored: Thu Aug 11 17:36:38 2016 -0700
Committer: rmani <rm...@hortonworks.com>
Committed: Thu Aug 11 17:36:38 2016 -0700

----------------------------------------------------------------------
 .../org/apache/ranger/authorization/storm/StormRangerPlugin.java  | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/cc1bb5a9/storm-agent/src/main/java/org/apache/ranger/authorization/storm/StormRangerPlugin.java
----------------------------------------------------------------------
diff --git a/storm-agent/src/main/java/org/apache/ranger/authorization/storm/StormRangerPlugin.java b/storm-agent/src/main/java/org/apache/ranger/authorization/storm/StormRangerPlugin.java
index f5ed027..9d0ea32 100644
--- a/storm-agent/src/main/java/org/apache/ranger/authorization/storm/StormRangerPlugin.java
+++ b/storm-agent/src/main/java/org/apache/ranger/authorization/storm/StormRangerPlugin.java
@@ -57,6 +57,9 @@ public class StormRangerPlugin extends RangerBasePlugin {
 		impliedTypes.put("dumpProfile","getTopologyInfo");
 		impliedTypes.put("dumpJstack","getTopologyInfo");
 		impliedTypes.put("dumpHeap","getTopologyInfo");
+		impliedTypes.put("setLogConfig","getTopologyInfo");
+		impliedTypes.put("getLogConfig","getTopologyInfo");
+		impliedTypes.put("debug","getTopologyInfo");
 
 		this.impliedAccessTypes = Collections.unmodifiableMap(impliedTypes);
 	}