ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject ranger git commit: RANGER-2105:Ranger HiveAuthorization for INSERT OVERWRITE DIRECTORY
Date Mon, 21 May 2018 17:37:09 GMT
Repository: ranger
Updated Branches:
  refs/heads/master 0ff82bcad -> 6504a70ee


RANGER-2105:Ranger HiveAuthorization for INSERT OVERWRITE DIRECTORY

Signed-off-by: rmani <rmani@hortonworks.com>


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

Branch: refs/heads/master
Commit: 6504a70eeeaefa6a7de18a0eb8f78f62dad76d9f
Parents: 0ff82bc
Author: rmani <rmani@hortonworks.com>
Authored: Thu May 17 23:00:52 2018 -0700
Committer: rmani <rmani@hortonworks.com>
Committed: Mon May 21 10:36:47 2018 -0700

----------------------------------------------------------------------
 .../ranger/authorization/hive/authorizer/RangerHiveAuthorizer.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ranger/blob/6504a70e/hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizer.java
----------------------------------------------------------------------
diff --git a/hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizer.java
b/hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizer.java
index 780afac..0f3bee5 100644
--- a/hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizer.java
+++ b/hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizer.java
@@ -1144,6 +1144,7 @@ public class RangerHiveAuthorizer extends RangerHiveAuthorizerBase {
 			case ALTERPARTITION_LOCATION:
 			case ALTERPARTITION_MERGEFILES:
 			case ALTERTBLPART_SKEWED_LOCATION:
+			case QUERY:
 				ret = FsAction.ALL;
 				break;
 
@@ -1195,7 +1196,6 @@ public class RangerHiveAuthorizer extends RangerHiveAuthorizerBase {
 			case SHOW_ROLE_GRANT:
 			case SHOW_ROLE_PRINCIPALS:
 			case TRUNCATETABLE:
-			case QUERY:
 			case DESCDATABASE:
 			case ALTERVIEW_RENAME:
 			case ALTERVIEW_AS:


Mime
View raw message