Skip to content

Commit 1462869

Browse files
authored
[IOTDB-1537]fix insertTablet permission (#3696)
1 parent 4884dc8 commit 1462869

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/src/main/java/org/apache/iotdb/db/auth/AuthorityChecker.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ private static int translateToPermissionId(Operator.OperatorType type) {
136136
case INSERT:
137137
case LOAD_DATA:
138138
case CREATE_INDEX:
139+
case BATCH_INSERT:
139140
return PrivilegeType.INSERT_TIMESERIES.ordinal();
140141
case LIST_ROLE:
141142
case LIST_ROLE_USERS:

0 commit comments

Comments
 (0)