This is an automated email from the ASF dual-hosted git repository. morrysnow pushed a commit to branch branch-2.1 in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push: new f619e9315d7 [enhance](auth) hive ranger support datamask (#35698) f619e9315d7 is described below commit f619e9315d7055845ccc24ae05f3981c34104b3c Author: zhangdong <493738...@qq.com> AuthorDate: Fri May 31 13:58:42 2024 +0800 [enhance](auth) hive ranger support datamask (#35698) pick from master #35112 Functions supported by Doris need to be configured through Custom, otherwise it will throw exception Can not found function 'xxx' --- .../authorizer/ranger/hive/RangerHiveAccessController.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/catalog/authorizer/ranger/hive/RangerHiveAccessController.java b/fe/fe-core/src/main/java/org/apache/doris/catalog/authorizer/ranger/hive/RangerHiveAccessController.java index f746607303d..6f4178d7716 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/catalog/authorizer/ranger/hive/RangerHiveAccessController.java +++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/authorizer/ranger/hive/RangerHiveAccessController.java @@ -24,7 +24,6 @@ import org.apache.doris.cluster.ClusterNamespace; import org.apache.doris.common.AuthorizationException; import org.apache.doris.common.ThreadPoolManager; import org.apache.doris.datasource.InternalCatalog; -import org.apache.doris.mysql.privilege.DataMaskPolicy; import org.apache.doris.mysql.privilege.PrivPredicate; import com.google.common.collect.Maps; @@ -42,7 +41,6 @@ import java.util.Collection; import java.util.Date; import java.util.List; import java.util.Map; -import java.util.Optional; import java.util.Set; import java.util.concurrent.ScheduledThreadPoolExecutor; import java.util.concurrent.TimeUnit; @@ -171,12 +169,6 @@ public class RangerHiveAccessController extends RangerAccessController { checkPrivileges(currentUser, convertToAccessType(wanted), resources); } - @Override - public Optional<DataMaskPolicy> evalDataMaskPolicy(UserIdentity currentUser, String ctl, String db, String tbl, - String col) { - return Optional.empty(); - } - @Override public boolean checkResourcePriv(UserIdentity currentUser, String resourceName, PrivPredicate wanted) { return false; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org