IoTDB User Permission Description
MRS supports users, user groups, and roles. Permissions must be assigned to roles and then roles are bound to users or user groups. Users can obtain permissions only by binding a role or joining a group that is bound with a role.
In security mode, you need to manage IoTDB permissions and add the created user to the iotdbgroup user group. In normal mode, IoTDB permission management is not required.
IoTDB Permission List
The Name column in Table 1 lists the permissions supported by open-source IoTDB. If an MRS user needs to use corresponding permissions to perform operations, grant the permissions to the user on Manager by referring to the Required Permission column. For details, see Creating an IoTDB Permission Role.
Name |
Description |
Required Permission |
Example |
---|---|---|---|
SET_STORAGE_GROUP |
Used for creating a storage group, including setting permissions for the storage group and setting or canceling its time to live (TTL). |
Set StorageGroup |
|
CREATE_TIMESERIES |
Used for creating a time series. |
Create |
|
INSERT_TIMESERIES |
Used for inserting data. |
Write |
|
ALTER_TIMESERIES |
Used for modifying a time series, and adding attributes and tags. |
Alter |
|
READ_TIMESERIES |
Used for querying data. |
Read |
|
DELETE_TIMESERIES |
Used for deleting data or time series. |
Delete |
|
DELETE_STORAGE_GROUP |
Used for deleting a storage group. |
IoTDB Admin Privilege |
delete storage group root.ln; |
CREATE_FUNCTION |
Used for registering a UDF. |
IoTDB Admin Privilege |
create function example AS 'org.apache.iotdb.udf.UDTFExample'; |
DROP_FUNCTION |
Used for deregistering a UDF. |
IoTDB Admin Privilege |
drop function example; |
UPDATE_TEMPLATE |
Used for creating, deleting, and modifying metadata templates. |
IoTDB Admin Privilege |
create schema template t1(s1 int32); |
READ_TEMPLATE |
Used for viewing all metadata templates and metadata template content. |
IoTDB Admin Privilege |
|
APPLY_TEMPLATE |
Used for attaching, detaching, and activating a metadata template. |
IoTDB Admin Privilege |
|
READ_TEMPLATE_APPLICATION |
Used for viewing the path for attaching or activating the metadata template. |
IoTDB Admin Privilege |
|
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot