You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2025/09/23 03:56:07 UTC
(iotdb) branch master updated: Fix CreateTraining IT
This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 2b641fdc952 Fix CreateTraining IT
2b641fdc952 is described below
commit 2b641fdc952576f9c2d9f6e688e92f84d2ff40eb
Author: shuwenwei <55...@users.noreply.github.com>
AuthorDate: Tue Sep 23 11:56:02 2025 +0800
Fix CreateTraining IT
---
.../queryengine/plan/relational/security/TreeAccessCheckVisitor.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/security/TreeAccessCheckVisitor.java b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/security/TreeAccessCheckVisitor.java
index 1831c00fb8f..16633a14359 100644
--- a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/security/TreeAccessCheckVisitor.java
+++ b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/security/TreeAccessCheckVisitor.java
@@ -161,6 +161,9 @@ public class TreeAccessCheckVisitor extends StatementVisitor<TSStatus, TreeAcces
@Override
public TSStatus visitNode(StatementNode node, TreeAccessCheckContext context) {
+ if (AuthorityChecker.SUPER_USER.equals(context.userName)) {
+ return SUCCEED;
+ }
return AuthorityChecker.getTSStatus(false, "Only the admin user can perform this operation");
}