Users and permissions

Updated at:

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.

Note

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

  • MaxCompute console (new version)

  • MaxCompute purchase page

Supported. By default, only the Alibaba Cloud account has permissions to manage the MaxCompute service.

Not applicable

Supported

Not applicable

  • An Alibaba Cloud account must grant the AliyunDataWorksFullAccess access policy and the AliyunBSSOrderAccess system policy to a Resource Access Management (RAM) user.

  • For a RAM role, the Alibaba Cloud account must configure a trust policy. For more information, see Configure a trust policy. Then, grant the `AliyunDataWorksFullAccession` and `AliyunBSSOrderAccess` system policies.

Project management

Create and delete projects

  • MaxCompute console (new version)

  • MaxCompute client

  • MaxCompute Studio

Supported

Project owner

Supported

Not applicable

RAM account dependency: Requires the `CreateProject` and `DeleteProject` access policies from RAM.

Cross-project access

  • MaxCompute console (new version)

  • MaxCompute client

  • MaxCompute Studio

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

  • MaxCompute console (new version)

  • MaxCompute client

  • MaxCompute Studio

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

  • MaxCompute console (new version)

  • MaxCompute client

  • MaxCompute Studio

Supported

Project owner

Supported

MaxCompute role: `Super_Administrator`.

Authorization from the Alibaba Cloud account is required.

Data protection

  • MaxCompute console (new version)

  • MaxCompute client

  • MaxCompute Studio

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

  • MaxCompute console (new version)

  • MaxCompute client

  • MaxCompute Studio

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

  • MaxCompute client

  • MaxCompute Studio

Supported

Project owner

Supported

MaxCompute role: Built-in MaxCompute roles and custom roles with permissions to develop Java UDFs.

Not applicable

Python UDF

  • MaxCompute client

  • MaxCompute Studio

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

  • MaxCompute console (new version)

  • MaxCompute client

  • MaxCompute Studio

Supported

Project owner

Supported

MaxCompute role: Built-in MaxCompute roles and custom roles with permissions to view the table list.

Not applicable

Create table

  • MaxCompute client

  • MaxCompute Studio

Supported

Project owner

Supported

MaxCompute role: Built-in MaxCompute roles and custom roles with permissions to create tables.

Not applicable

Update table

  • MaxCompute client

  • MaxCompute Studio

Supported

Project owner

Supported

MaxCompute role: Built-in MaxCompute roles and custom roles with permissions to update tables.

Not applicable

Delete table

  • MaxCompute client

  • MaxCompute Studio

Supported

Project owner

Supported

MaxCompute role: Built-in MaxCompute roles and custom roles with permissions to delete tables.

Not applicable

Single table authorization (ACL)

  • MaxCompute console (new version)

  • MaxCompute client

  • MaxCompute Studio

Supported

Project owner

Supported

MaxCompute role: Built-in MaxCompute roles.

Not applicable

Preview metadata

  • MaxCompute client

  • MaxCompute Studio

Supported

Project owner

Supported

MaxCompute role: Built-in MaxCompute roles and custom roles with permissions to view metadata.

Not applicable

Preview cross-project tables

  • MaxCompute client

  • MaxCompute Studio

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

  • MaxCompute console (new version)

  • MaxCompute client

  • MaxCompute Studio

Supported

Project owner

Supported

MaxCompute role: Built-in MaxCompute roles and custom roles with permissions to view resources.

Not applicable

Create and delete resources

  • MaxCompute client

  • MaxCompute Studio

Supported

Project owner

Supported

MaxCompute role: Built-in MaxCompute roles and custom roles with permissions to create and delete resources.

Not applicable

Upload resources

  • MaxCompute client

  • MaxCompute Studio

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

  • MaxCompute client

  • MaxCompute Studio

Supported

Project owner

Supported

MaxCompute role: Built-in MaxCompute roles and custom roles with permissions to view functions.

Not applicable

Create and delete functions

  • MaxCompute client

  • MaxCompute Studio

Supported

Project owner

Supported

MaxCompute role: Built-in MaxCompute roles and custom roles with permissions to create and delete functions.

Not applicable