Skip to content

Commit 70624d9

Browse files
committed
fix
1 parent 8890c20 commit 70624d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/security/TreeAccessCheckVisitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ public TSStatus visitAuthor(AuthorStatement statement, TreeAccessCheckContext co
672672
return checkPermissionsWithGrantOption(
673673
context,
674674
Arrays.stream(statement.getPrivilegeList())
675-
.map(PrivilegeType::valueOf)
675+
.map(s -> PrivilegeType.valueOf(s.toUpperCase()))
676676
.collect(Collectors.toList()),
677677
statement.getNodeNameList());
678678
default:

0 commit comments

Comments
 (0)