kgyrtkirk commented on a change in pull request #794: HIVE-21884
URL: https://github.com/apache/hive/pull/794#discussion_r335699238
##########
File path:
ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/sqlstd/Operation2Privilege.java
##########
@@ -363,6 +363,10 @@ public HivePrivilegeObjectType getObjectType() {
op2Priv.put(HiveOperationType.LOCKTABLE,
PrivRequirement.newIOPrivRequirement(null, null));
op2Priv.put(HiveOperationType.UNLOCKTABLE,
PrivRequirement.newIOPrivRequirement(null, null));
+ op2Priv.put(HiveOperationType.CREATE_SCHEDULED_QUERY,
PrivRequirement.newIOPrivRequirement(null, ADMIN_PRIV_AR));
Review comment:
okay; at first I wanted to introduce scheduled queries as some privileged
feature only available to admins; I'm no expert in this but I think this IO
priv thing will not work for scheduled queries
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]