Data Lake Compute has a complete data access control mechanism and divides permissions into operation permissions and data permissions. The former is managed by CAM, while the latter is managed by the permission module of Data Lake Compute.
A root account has all the operation permissions of Data Lake Compute by default and can grant sub-users the access permissions of Data Lake Compute through CAM, so that the sub-users can have corresponding operation permissions of Data Lake Compute.
QcloudDLCFullAccess
: All the operation permissions in Data Lake Compute.Data Lake Compute operation permissions are categorized by API as follows.
Permission Type | Description |
---|---|
Metadata management | Manipulate the metadata information of databases and data tables managed in Data Lake Compute. |
Task management | Submit and view tasks in Data Lake Compute. |
Permission management | Manage users' data access permissions. |
System configuration | Perform basic configurations of the Data Lake Compute service. |
If you access Data Lake Compute as a root account, skip this step.
DLCDataAccess
) and Description, copy the following policy, paste it into Policy Content, and click Complete. A sub-user bound to the custom policy can log in to the Data Lake Compute console to run SQL tasks but cannot manage data permissions. For more information, see Sub-Account Permission Management.{
"version": "2.0",
"statement": [
{
"effect": "allow",
"action": [
"dlc:DescribeStoreLocation",
"dlc:DescribeTable",
"dlc:DescribeViews",
"dlc:CancelTask",
"dlc:CreateDatabase",
"dlc:CreateScript",
"dlc:CreateTable",
"dlc:CreateTask",
"dlc:DeleteScript",
"dlc:DescribeDatabases",
"dlc:DescribeScripts",
"dlc:DescribeTables",
"dlc:DescribeTasks",
"dlc:DescribeQueue"
],
"resource": [
"*"
]
}
]
}
5. Bind the preset or custom policy to a sub-account, and the sub-account can log in to and access Data Lake Compute. For more information, see Setting Sub-user Permissions.
QcloudDLCFullAccess
.
Was this page helpful?