How Do I Manage Fine-Grained DLI Permissions?¶
DLI has a comprehensive permission control mechanism and supports fine-grained authentication through Identity and Access Management (IAM). You can create policies in IAM to manage DLI permissions.
With IAM, you can use your account to create IAM users for your employees, and assign permissions to the users to control their access to specific resource types. For example, some software developers in your enterprise need to use DLI resources but must not delete them or perform any high-risk operations. To achieve this result, you can create IAM users for the software developers and grant them only the permissions required for using DLI resources.
Note
For a new user, you need to log in for the system to record the metadata before using DLI.
IAM is free to use, and you only need to pay for the resources in your account.
If your cloud account does not need individual IAM users for permissions management, skip over this section.
DLI System Permissions¶
You can grant users permissions by using roles and policies.
Roles: A type of coarse-grained authorization that defines permissions related to user responsibilities. This mechanism provides only a limited number of service-level roles for authorization. When using roles to grant permissions, you need to also assign other roles on which the permissions depend to take effect. Roles are not an ideal choice for fine-grained authorization and secure access control.
Policies: A type of fine-grained authorization that defines permissions required to perform operations on specific cloud resources under certain conditions. This type of authorization is more flexible and ideal for secure access control. For example, you can grant DLI users only the permissions for managing a certain type of cloud servers.
Role/Policy Name | Description | Category | Dependency |
---|---|---|---|
DLI FullAccess | Full permissions for DLI. | System-defined policy | This role depends on other roles in the same project.
|
DLI ReadOnlyAccess | Read-only permissions for DLI. With read-only permissions, you can use DLI resources and perform operations that do not require fine-grained permissions. For example, create global variables, create packages and package groups, submit jobs to the default queue, create tables in the default database, create datasource connections, and delete datasource connections. | System-defined policy | None |
Tenant Administrator | Tenant administrator
| System-defined role | None |
DLI Service Administrator | DLI administrator.
| System-defined role | None |