ayushtkn commented on code in PR #5222: URL: https://github.com/apache/hive/pull/5222#discussion_r1590216138
########## ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/sqlstd/Operation2Privilege.java: ########## @@ -248,7 +248,9 @@ public HivePrivilegeObjectType getObjectType() { PrivRequirement.newIOPrivRequirement(OWNER_PRIV_AR, OWNER_PRIV_AR)); op2Priv.put(HiveOperationType.ALTERTABLE_RENAMEBRANCH, PrivRequirement.newIOPrivRequirement(OWNER_PRIV_AR, OWNER_PRIV_AR)); - op2Priv.put(HiveOperationType.ALTERTABLE_REPLACEBRANCH, + op2Priv.put(HiveOperationType.ALTERTABLE_REPLACESNAPSHOTREF, + PrivRequirement.newIOPrivRequirement(OWNER_PRIV_AR, OWNER_PRIV_AR)); + op2Priv.put(HiveOperationType.ALTERTABLE_REPLACETAG, Review Comment: nopes, removed ########## ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/HiveOperationType.java: ########## @@ -142,9 +142,10 @@ public enum HiveOperationType { ALTERTABLE_CREATEBRANCH, ALTERTABLE_DROPBRANCH, ALTERTABLE_RENAMEBRANCH, - ALTERTABLE_REPLACEBRANCH, + ALTERTABLE_REPLACESNAPSHOTREF, ALTERTABLE_CREATETAG, ALTERTABLE_DROPTAG, + ALTERTABLE_REPLACETAG, Review Comment: nopes, removed -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org