Assign a built-in administrator role to a user
Super_Administrator and Admin are built-in administrator roles in MaxCompute. To streamline authorization, you can assign these roles directly to users, which grants them all the associated permissions.
Background information
MaxCompute provides the following built-in administrator roles.
|
Built-in role |
Authorizer |
Authorization method |
|
tenant-level Super_Administrator role |
An Alibaba Cloud account or a user with the tenant-level Super_Administrator role |
|
|
tenant-level Admin role |
||
|
project-level Super_Administrator role |
project owner |
|
|
project-level Admin role |
The tenant-level Super_Administrator and Admin roles grant high-level privileges, including both administrative permissions and access to all objects. Assign these roles with caution. Grant these roles only to accounts designated for global administration.
Authorization via MaxCompute console
Follow these steps to assign the tenant-level Super_Administrator or Admin role to a user:
-
Log on to the MaxCompute console and select a region in the upper-left corner.
-
In the left navigation bar, click Tenants > Users. On the Users page, click Add Member.
-
In the Add Members dialog box, select a user or role from the Search by Account Name list to add it to the Accounts to Add list. Then, select one or more tenant-level roles in the Batch Set Roles section.
-
Click OK.
Authorization via MaxCompute client
Assume that an Alibaba Cloud account Bob@aliyun.com is the project owner of test_project_a, and Allen is a RAM user that belongs to the Alibaba Cloud account Bob@aliyun.com. Follow these steps to assign the Super_Administrator role to Allen:
-
USE test_project_a; -
ADD USER RAM$Bob@aliyun.com:Allen; -
GRANT super_administrator TO RAM$Bob@aliyun.com:Allen;
Authorization via DataWorks
Assume that an Alibaba Cloud account Bob@aliyun.com is the project owner of test_project_a, and Allen is a RAM user that belongs to the Alibaba Cloud account Bob@aliyun.com. Follow these steps to assign the Super_Administrator role to Allen:
-
Log in to the DataWorks console and select a region in the upper-left corner.
-
In the navigation pane on the left, choose Workspace.
-
On the Workspaces page, click the name of the target workspace.
-
-
Add Allen as a workspace member.
-
In the navigation pane on the left, click Workspace Members and Roles to go to the Workspace Members tab.
-
In the upper-right corner, click Add Members.
-
In the Add Members dialog box, select Allen from the Available Accounts list to add it to the Selected Accounts list.
-
Select roles and click Confirm.
-
-
Assign the Super_Administrator or Admin role to Allen.
NoteThe following steps apply to an earlier version of the console. If you are using the new version, see Manage user permissions in the console.
-
In the navigation pane on the left, click MaxCompute Advanced Settings.
-
On the MaxCompute Advanced Settings page, in the navigation pane on the left, click Custom User Roles.
-
Next to the role that you want to assign, click Manage Members. In the dialog box that appears, select Allen from the Available Accounts list to add it to the Selected Accounts list.
-
Click OK to assign the role.
-