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 2021/08/11 17:34:00 UTC

[ranger] branch master updated: RANGER-3357:Ranger HivePlugin Authorization for a new Hive operation

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

rmani pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ranger.git


The following commit(s) were added to refs/heads/master by this push:
     new 9115a20  RANGER-3357:Ranger HivePlugin Authorization for a new Hive operation
9115a20 is described below

commit 9115a20d524ba9173ce5db3e270c385d58d8aeab
Author: Ramesh Mani <rm...@cloudera.com>
AuthorDate: Wed Aug 11 00:43:38 2021 -0700

    RANGER-3357:Ranger HivePlugin Authorization for a new Hive operation
---
 .../ranger/authorization/hive/authorizer/RangerHiveAuthorizer.java      | 2 ++
 1 file changed, 2 insertions(+)

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 43fddd3..efe1ff7 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
@@ -1742,6 +1742,7 @@ public class RangerHiveAuthorizer extends RangerHiveAuthorizerBase {
 				case ALTERVIEW_AS:
 				case ALTERVIEW_PROPERTIES:
 				case ALTERVIEW_RENAME:
+				case ALTER_MATERIALIZED_VIEW_REWRITE:
 				case DROPVIEW_PROPERTIES:
 				case MSCK:
 					accessType = HiveAccessType.ALTER;
@@ -1994,6 +1995,7 @@ public class RangerHiveAuthorizer extends RangerHiveAuthorizerBase {
 			case ALTERVIEW_PROPERTIES:
 			case DROPVIEW_PROPERTIES:
 			case DROP_MATERIALIZED_VIEW:
+			case ALTER_MATERIALIZED_VIEW_REWRITE:
 			case LOCKTABLE:
 			case UNLOCKTABLE:
 			case CREATEROLE: