This is an automated email from the ASF dual-hosted git repository.
rong pushed a commit to branch rel/0.12
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/rel/0.12 by this push:
new 2ac3f98 [IOTDB-2620] Unrecognizable operator type (SHOW) for
AuthorityChecker (#5132)
2ac3f98 is described below
commit 2ac3f98e7bb09e17a289521c7d67e7c120783288
Author: Steve Yurong Su <[email protected]>
AuthorDate: Mon Feb 28 17:26:43 2022 +0800
[IOTDB-2620] Unrecognizable operator type (SHOW) for AuthorityChecker
(#5132)
---
server/src/main/java/org/apache/iotdb/db/auth/AuthorityChecker.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/server/src/main/java/org/apache/iotdb/db/auth/AuthorityChecker.java
b/server/src/main/java/org/apache/iotdb/db/auth/AuthorityChecker.java
index fae00bf..611c0ee 100644
--- a/server/src/main/java/org/apache/iotdb/db/auth/AuthorityChecker.java
+++ b/server/src/main/java/org/apache/iotdb/db/auth/AuthorityChecker.java
@@ -123,6 +123,7 @@ public class AuthorityChecker {
case DELETE:
case DROP_INDEX:
return PrivilegeType.DELETE_TIMESERIES.ordinal();
+ case SHOW:
case QUERY:
case SELECT:
case FILTER: