zddr commented on code in PR #27864:
URL: https://github.com/apache/doris/pull/27864#discussion_r1461354432
##########
fe/fe-core/src/main/java/org/apache/doris/catalog/authorizer/ranger/hive/RangerHiveAccessController.java:
##########
@@ -198,4 +181,27 @@ public void checkColsPriv(UserIdentity currentUser, String
ctl, String db, Strin
checkPrivileges(currentUser, convertToAccessType(wanted), resources);
}
+
+ @Override
+ public boolean checkResourcePriv(UserIdentity currentUser, String
resourceName, PrivPredicate wanted) {
+ return false;
+ }
+
+ @Override
+ public boolean checkWorkloadGroupPriv(UserIdentity currentUser, String
workloadGroupName, PrivPredicate wanted) {
+ return false;
+ }
+
+ // For test only, will be removed later
+ public static void main(String[] args) {
Review Comment:
Don't forget
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]