All Products
Search
Document Center

E-MapReduce:Manage users and roles

Last Updated:Mar 25, 2026

A workspace is the basic unit for collaboration in EMR Serverless Spark. All development work happens within a workspace, and you control who can do what by assigning workspace roles to Resource Access Management (RAM) users and RAM roles.

Built-in roles

EMR Serverless Spark provides four built-in workspace roles:

RoleWho it's forWhat they can do
GuestAuditors, stakeholdersRead-only access. Can view resources but cannot create, edit, or delete anything.
DataScienceData scientists, analystsCan view all resources and submit jobs to the development queue (dev_queue). Cannot manage workflows, sessions, or infrastructure.
DataEngineeringData engineersFull development access. Can create and manage workflows, sessions, gateways, and ciphertexts, and submit jobs to any queue.
OwnerWorkspace administratorsFull access, including queue management and user/role administration.

If none of these roles fit your needs, you can create a custom role. See Manage roles.

Role permissions

The following tables show what each role can do, grouped by resource type.

Workflow permissions

PermissionGuestDataScienceDataEngineeringOwner
View workflow lists, statuses, versions, topologies, details, and configurations
View logs, outputs, and the SparkUI of workflow instance nodes
Create workflows (associate topologies, nodes, and tasks; publish workflows)--
Delete workflows--
Create workflow nodes--
Edit workflow instance configurations--
Enable workflow scheduling--
Disable workflow scheduling--
Trigger workflows--
Node operations (rerun, set to success, stop)--

Queue permissions

PermissionGuestDataScienceDataEngineeringOwner
View queues
Submit jobs to a queue-✓ (Scope: dev_queue)✓ (Scope: *)✓ (Scope: *)
Add queues---
Edit queues (adjust resources)---
Delete queues---

SQL session permissions

PermissionGuestDataScienceDataEngineeringOwner
View SQL sessions
Create SQL sessions--
Edit SQL sessions--
Delete SQL sessions--

Notebook session permissions

PermissionGuestDataScienceDataEngineeringOwner
View Notebook sessions
Create Notebook sessions--
Edit Notebook sessions--
Delete Notebook sessions--

Gateway permissions

PermissionGuestDataScienceDataEngineeringOwner
View gateways
Create gateways--
Edit gateways--
Delete gateways--
Manage access tokens for Livy Gateway (create, delete, and update)--

Ciphertext permissions

PermissionGuestDataScienceDataEngineeringOwner
View ciphertexts-
Create ciphertexts--
Delete ciphertexts--

Prerequisites

Before you begin, make sure you have:

  • A workspace. See Manage workspaces.

  • A RAM user granted one of the following permissions: AliyunEmrServerlessSparkReadOnlyAccess, AliyunEMRServerlessSparkDeveloperAccess, or AliyunEMRServerlessSparkFullAccess. See Grant permissions to a RAM user.

Manage users

Add a user

  1. Go to the Access Control page.

    1. Log on to the E-MapReduce console.

    2. In the left navigation pane, choose EMR Serverless > Spark.

    3. On the Spark page, click the name of the workspace.

    4. In the left navigation pane, choose Security > Access Control.

  2. On the User tab, click Add User.

  3. In the Add User dialog box, select the RAM users and RAM roles to add, then click OK. You can select one or more RAM users and RAM roles.

Remove a user

  1. On the User tab of the Access Control page, click Delete in the Actions column for the target user.

  2. In the Remove User dialog box, click Remove.

Manage roles

If the built-in roles don't meet your requirements, create a custom role and configure its permissions.

Create a role and assign permissions

  1. On the Role tab of the Access Control page, click Create Role.

  2. In the dialog box, enter a Role Name and a Display Name, then click OK.

  3. Click the name of the role you created.

  4. Click Add Authorization.

  5. Select the required permissions and click OK.

Add users to a role

  1. On the Role tab of the Access Control page, click Add User in the Actions column of the target role.

  2. In the Add User dialog box, select the users to add, then click OK.

Remove users from a role

  1. On the Role tab of the Access Control page, click Remove User in the Actions column of the target role.

  2. In the Remove User dialog box, select the users to remove, then click OK.