This is an automated email from the ASF dual-hosted git repository.
neuyilan 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 3a6a861 [IOTDB-1537]fix insertTablet premission
3a6a861 is described below
commit 3a6a86199978f382916a77e957c588451a117eb2
Author: Hang Ji <[email protected]>
AuthorDate: Thu Aug 5 17:26:12 2021 +0800
[IOTDB-1537]fix insertTablet premission
---
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 4ea4a8e..fae00bf 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
@@ -138,6 +138,7 @@ public class AuthorityChecker {
case INSERT:
case LOADDATA:
case CREATE_INDEX:
+ case BATCHINSERT:
return PrivilegeType.INSERT_TIMESERIES.ordinal();
case LIST_ROLE:
case LIST_ROLE_USERS: