Users and permissions
This topic describes users and permissions in MaxCompute.
Users, roles, and permissions are interconnected. A role is a collection of permissions. You can perform the following operations:
Add users to a MaxCompute project and grant them specific permissions on specific objects. For more information, see User planning and management and MaxCompute permissions.
Quickly grant predefined MaxCompute roles to users based on their operational requirements. For more information, see Attach a role to a user.
Create custom roles, grant permissions to the roles, and then assign the roles to users. For more information, see Role planning.
View the permissions of a user or role. For more information, see View permissions.
Supported users and roles in MaxCompute
MaxCompute supports the following users and roles.
Type | Name | Description |
User | Alibaba Cloud account | An account registered on the official Alibaba Cloud website. |
RAM user | A Resource Access Management (RAM) user created by an Alibaba Cloud account to help with data processing. | |
RAM role | A RAM role, like a RAM user, is a type of RAM identity. A RAM role is a virtual user that does not have a specific identity authentication key. It must be assumed by a trusted entity to be used. | |
Role | Super_Administrator | A built-in administrative role in MaxCompute. This role is the super administrator of a project and has permissions to operate on all resources and perform management tasks within the project. The project owner or a user with the Super_Administrator role can grant the Super_Administrator role to other users. |
Admin | A built-in administrative role in MaxCompute. This role has permissions to operate on all resources and perform some basic management tasks within the project. The project owner can grant the Admin role to other users. | |
Custom role | A role that is not built into MaxCompute and must be custom-defined. You can use roles in DataWorks that start with `Role_` as a reference. |
In addition to roles, the ProjectOwner (project owner) has all permissions within the project. Other users cannot access objects in the project without authorization from the project owner.
DataWorks also has roles. For a comparison of roles in DataWorks and MaxCompute, see Relationship between MaxCompute and DataWorks permissions. If you add users or grant permissions using DataWorks, see Grant permissions to other users.
User operation authorization guide
The following table describes the supported operations and required roles for Alibaba Cloud accounts, RAM users, and RAM roles on different tools and platforms.
Operation type | Operation | Supported tools or platforms | Alibaba Cloud account identity | Alibaba Cloud account role | RAM user/RAM role | Role of RAM user/RAM role in MaxCompute project | Dependencies |
Activate MaxCompute service, purchase resources | Activate, purchase, top up, renew, upgrade, downgrade |
| Supported. By default, only the Alibaba Cloud account has permissions to manage the MaxCompute service. | Not applicable | Supported | Not applicable |
|
Project management | Create and delete projects |
| Supported | Project owner | Supported | Not applicable | RAM account dependency: Requires the `CreateProject` and `DeleteProject` access policies from RAM. |
Cross-project access |
| Supported | Project owner | Supported | MaxCompute role: Built-in MaxCompute roles and custom roles with cross-project access permissions. | Authorization from the Alibaba Cloud account is required. | |
Modify the default computing quota of a project | MaxCompute console (new version) | Supported | Project owner | Supported | Not applicable | RAM account dependency: Requires the `UpdateProjectDefaultQuota` access policy from RAM. | |
Set IP allowlist |
| Supported | Project owner | Supported | MaxCompute role: `Super_Administrator` and custom roles with project secure configuration permissions. | Authorization from the Alibaba Cloud account is required. | |
Full table scan |
| Supported | Project owner | Supported | MaxCompute role: `Super_Administrator`. | Authorization from the Alibaba Cloud account is required. | |
Data protection |
| Supported | Project owner | Supported | MaxCompute role: `Super_Administrator`. | Authorization from the Alibaba Cloud account is required. | |
Modify project status | MaxCompute console (new version) | Supported | Project owner | Supported | Not applicable | RAM account dependency: Requires the `UpdateProjectStatus` access policy from RAM. | |
Add, authorize, and manage project members |
| Supported | Project owner | Supported | MaxCompute role: `Super_Administrator` and custom roles with the corresponding project management permissions. | Authorization from the Alibaba Cloud account is required. | |
Quota management | Modify a level-1 or level-2 quota | MaxCompute console (new version) | Supported | Not applicable | Supported | Not applicable | RAM account dependency: Requires the `UpdateQuota` access policy from RAM. |
Create a custom level-2 quota | MaxCompute console (new version) | Supported | Not applicable | Supported | Not applicable | RAM account dependency: Requires the `UpdateSubQuotas` access policy from RAM. | |
Create, modify, and delete quota plans | MaxCompute console (new version) | Supported | Not applicable | Supported | Not applicable | RAM account dependency: Requires the `CreateQuotaPlan`, `UpdateQuotaPlan`, and `DeleteQuotaPlan` access policies from RAM. | |
Create and modify time plans | MaxCompute console (new version) | Supported | Not applicable | Supported | Not applicable | RAM account dependency: Requires the `createQuotaSchedule` and `UpdateQuotaSchedule` access policies from RAM. | |
Job O&M | View jobs, job O&M, and job monitoring | MaxCompute Management | Supported | Project owner | Supported | MaxCompute role: `Super_Administrator`. | The Alibaba Cloud account must grant the `Super_Administrator` role to the RAM user. |
Code development | Java UDF |
| Supported | Project owner | Supported | MaxCompute role: Built-in MaxCompute roles and custom roles with permissions to develop Java UDFs. | Not applicable |
Python UDF |
| Supported | Project owner | Supported | MaxCompute role: Built-in MaxCompute roles and custom roles with permissions to develop Python UDFs. | Not applicable | |
Data management | View table list |
| Supported | Project owner | Supported | MaxCompute role: Built-in MaxCompute roles and custom roles with permissions to view the table list. | Not applicable |
Create table |
| Supported | Project owner | Supported | MaxCompute role: Built-in MaxCompute roles and custom roles with permissions to create tables. | Not applicable | |
Update table |
| Supported | Project owner | Supported | MaxCompute role: Built-in MaxCompute roles and custom roles with permissions to update tables. | Not applicable | |
Delete table |
| Supported | Project owner | Supported | MaxCompute role: Built-in MaxCompute roles and custom roles with permissions to delete tables. | Not applicable | |
Single table authorization (ACL) |
| Supported | Project owner | Supported | MaxCompute role: Built-in MaxCompute roles. | Not applicable | |
Preview metadata |
| Supported | Project owner | Supported | MaxCompute role: Built-in MaxCompute roles and custom roles with permissions to view metadata. | Not applicable | |
Preview cross-project tables |
| Supported | Project owner | Supported | MaxCompute role: Built-in MaxCompute roles and custom roles with permissions to view tables across projects. | Authorization from the Alibaba Cloud account is required. | |
Resource management | View resource list |
| Supported | Project owner | Supported | MaxCompute role: Built-in MaxCompute roles and custom roles with permissions to view resources. | Not applicable |
Create and delete resources |
| Supported | Project owner | Supported | MaxCompute role: Built-in MaxCompute roles and custom roles with permissions to create and delete resources. | Not applicable | |
Upload resources |
| Supported | Project owner | Supported | MaxCompute role: Built-in MaxCompute roles and custom roles with permissions to upload resources. | Not applicable | |
Function development | View function list and details |
| Supported | Project owner | Supported | MaxCompute role: Built-in MaxCompute roles and custom roles with permissions to view functions. | Not applicable |
Create and delete functions |
| Supported | Project owner | Supported | MaxCompute role: Built-in MaxCompute roles and custom roles with permissions to create and delete functions. | Not applicable |