You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by ma...@apache.org on 2015/07/16 08:25:31 UTC

[2/3] incubator-ranger git commit: RANGER-576:Storm audit not showing access type in the Ranger Admin Audit UI

RANGER-576:Storm audit not showing access type in the Ranger Admin Audit UI


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

Branch: refs/heads/tag-policy
Commit: f34eb3d0704e57129dd5f12a58cae8db9cc2c385
Parents: 3651862
Author: rmani <rm...@hortonworks.com>
Authored: Thu Jul 9 17:37:06 2015 -0700
Committer: rmani <rm...@hortonworks.com>
Committed: Thu Jul 9 17:37:06 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/f34eb3d0/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 323ab58..f8663af 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
@@ -68,6 +68,7 @@ public class StormRangerPlugin extends RangerBasePlugin {
 		}
 		request.setAccessType(_operation);
 		request.setClientIPAddress(_clientIp);
+		request.setAction(_operation);
 		// build resource and connect stuff into request
 		RangerAccessResourceImpl resource = new RangerAccessResourceImpl();
 		resource.setValue(ResourceName.Topology, _topology);