You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ro...@apache.org on 2022/02/28 03:48:28 UTC

[iotdb] branch iotdb-2620 created (now cce67d2)

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

rong pushed a change to branch iotdb-2620
in repository https://gitbox.apache.org/repos/asf/iotdb.git.


      at cce67d2  [IOTDB-2620] Unrecognizable operator type (SHOW) for AuthorityChecker

This branch includes the following new commits:

     new cce67d2  [IOTDB-2620] Unrecognizable operator type (SHOW) for AuthorityChecker

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[iotdb] 01/01: [IOTDB-2620] Unrecognizable operator type (SHOW) for AuthorityChecker

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rong pushed a commit to branch iotdb-2620
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit cce67d236a1cd3ae4a86bd5f151a0b2faa2025fd
Author: Steve Yurong Su <ro...@apache.org>
AuthorDate: Mon Feb 28 11:47:21 2022 +0800

    [IOTDB-2620] Unrecognizable operator type (SHOW) for AuthorityChecker
---
 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: