This is an automated email from the ASF dual-hosted git repository.

rong 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 92ad9f2  [IOTDB-2620] Unrecognizable operator type (SHOW) for 
AuthorityChecker (#5129)
92ad9f2 is described below

commit 92ad9f24b2d91490d532e0c829f19becad2c648f
Author: Steve Yurong Su <[email protected]>
AuthorDate: Mon Feb 28 13:26:01 2022 +0800

    [IOTDB-2620] Unrecognizable operator type (SHOW) for AuthorityChecker 
(#5129)
---
 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 c1e369f..43b5682 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
@@ -125,6 +125,7 @@ public class AuthorityChecker {
       case DELETE:
       case DROP_INDEX:
         return PrivilegeType.DELETE_TIMESERIES.ordinal();
+      case SHOW:
       case QUERY:
       case GROUP_BY_TIME:
       case QUERY_INDEX:

Reply via email to