You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "xiaozhihong (Jira)" <ji...@apache.org> on 2022/04/13 05:57:00 UTC
[jira] [Created] (IOTDB-2902) A user granted insert_timeseries permission reports no permission when inserting aligned data
xiaozhihong created IOTDB-2902:
----------------------------------
Summary: A user granted insert_timeseries permission reports no permission when inserting aligned data
Key: IOTDB-2902
URL: https://issues.apache.org/jira/browse/IOTDB-2902
Project: Apache IoTDB
Issue Type: Bug
Components: Core/Server
Affects Versions: 0.13.0, master branch
Reporter: xiaozhihong
Assignee: Haonan Hou
step 1: start iotdb
step 2:root enter cli
{code:java}
create storage group root.line1;
create storage group root.line2;
create timeseries root.line1.wf01.wt01.temperatures with datatype=float,encoding=rle;{code}
{code:java}
create user user01 'pass1234';
grant user user01 privileges insert_timeseries on root.lin2;{code}
step 3: user01 enter cli
{code:java}
insert into root.line1.wf01.wt01(time,temperatures) aligned values(1,1),(2,1),(3,1); {code}
[xzh@i-3m56qrdq apache-iotdb-0.14.0-SNAPSHOT-all-bin]$ ./sbin/start-cli.sh -u user01 -pw pass1234 --------------------- Starting IoTDB Cli --------------------- _____ _________ ______ ______ |_ _| | _ _ ||_ _ `.|_ _ \ | | .--.|_/ | | \_| | | `. \ | |_) | | | / .'`\ \ | | | | | | | __'. _| |_| \__. | _| |_ _| |_.' /_| |__) | |_____|'.__.' |_____| |______.'|_______/ version 0.14.0-SNAPSHOT IoTDB> login successfully IoTDB> insert into root.line1.wf01.wt01(time,temperatures) aligned values(1,1),(2,1),(3,1); Msg: 602: No permissions for this operation BATCH_INSERT_ROWS
--
This message was sent by Atlassian Jira
(v8.20.1#820001)