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

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


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

commit aca73deb28b567ce7ea6d4f508e7ab6ab813c0fd
Author: Ramesh Mani <[email protected]>
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:

Reply via email to