You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "Yulei-Yang (via GitHub)" <gi...@apache.org> on 2023/02/27 07:08:36 UTC
[GitHub] [doris] Yulei-Yang commented on a diff in pull request #17153: [Improvement](auth)(step-1) add ranger authorizer for hms catalog
Yulei-Yang commented on code in PR #17153:
URL: https://github.com/apache/doris/pull/17153#discussion_r1118353546
##########
fe/fe-core/src/main/java/org/apache/doris/mysql/privilege/CatalogAccessController.java:
##########
@@ -25,39 +25,38 @@
public interface CatalogAccessController {
// ==== Catalog ====
default boolean checkCtlPriv(boolean hasGlobal, UserIdentity currentUser, String ctl, PrivPredicate wanted) {
- boolean res = checkCtlPriv(currentUser, ctl, wanted);
- return hasGlobal || res;
+ return hasGlobal || checkCtlPriv(currentUser, ctl, wanted);
Review Comment:
fixed
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org