xiaozhihong created IOTDB-3149:
----------------------------------
Summary: There is a difference between adding ** path and without
a path to list user privileges
Key: IOTDB-3149
URL: https://issues.apache.org/jira/browse/IOTDB-3149
Project: Apache IoTDB
Issue Type: Bug
Components: Core/Server
Affects Versions: master branch
Reporter: xiaozhihong
Assignee: Jialin Qiao
Attachments: image-2022-05-11-10-36-43-442.png
{code:java}
IoTDB> LIST USER PRIVILEGES user01;
+----+-------------------------------------+
|role| privilege|
+----+-------------------------------------+
| | root : SET_STORAGE_GROUP|
| | root.ln : CREATE_TIMESERIES|
| |root.** : SET_STORAGE_GROUP LIST_USER|
| | root.ln.** : CREATE_TIMESERIES|
+----+-------------------------------------+
Total line number = 4
It costs 0.003s
IoTDB> LIST PRIVILEGES USER user01 on root.**;
+----+-------------------------------------+
|role| privilege|
+----+-------------------------------------+
| |root.** : SET_STORAGE_GROUP LIST_USER|
+----+-------------------------------------+
Total line number = 1
It costs 0.003s
{code}
!image-2022-05-11-10-36-43-442.png!
--
This message was sent by Atlassian Jira
(v8.20.7#820007)