If you want to perform collaborative development in a DataWorks workspace together with other users, you need to add the RAM users that are used by them to the workspace as members and assign roles to the RAM users. This topic describes how to add a RAM user to a workspace and assign a role to the RAM user.
Prerequisites
A DataWorks workspace is created. For more information, see Create a workspace.
You are familiar with the description of permission management in a DataWorks workspace. For more information, see Manage permissions on workspace-level services.
You have the permissions of a workspace administrator. By default, an Alibaba Cloud account has the permissions. For more information about how to obtain the permissions, see Grant the permissions of a workspace administrator to a RAM user.
A RAM user is created, and the RAM user is attached the AliyunDataWorksFullAccess policy. For more information, see Prepare a RAM user.
Background information
Collaborative development scenario
If you want to perform collaborative development in a DataWorks workspace together with other users, you must add the RAM users that are used by them to the workspace as members and assign workspace-level roles to the RAM users based on the permission system of DataWorks and your business requirements.
The permissions on modules in DataWorks are managed at the workspace level based on the role-based access control (RBAC) model. You can assign different roles to members to manage the permissions on different features in a workspace.
DataWorks provides built-in roles that are granted fixed feature permissions and allows you to create custom roles based on your business requirements.
For more information, see Overview of the DataWorks permission management system.
Experience scenario of an Alibaba Cloud account
If you only want to use your Alibaba Cloud account for data development, you can skip the operations described in this topic and directly develop data.
For more information about how to create a simple auto triggered task, see Data development: Developers.
For more information about how to use DataWorks for data development, see Overview.
In this topic, the development environment is used to describe how to add and manage workspace members before data development.
Procedure
Go to the Workspace page.
Log on to the DataWorks console.
In the left-side navigation pane, click Workspaces.
Go to the Workspace page.
You can use one of the following methods to go to the page:
Method 1: On the Workspaces page, find the desired workspace, click Manage in the Actions column to go to the Workspace page.
Method 2: In the upper-right corner of the page of a module, click the icon to go to the Workspace page. For example, you can click the icon in the upper-right corner of the DataStudio page to go to the Workspace page.
Add a RAM user to the workspace as a member and assign a role to the RAM user.
You can perform the operations based on the instructions provided in the following figure.
ImportantIf you want to create a RAM user, you can click RAM console in the Add Members dialog box. Then, you must add the RAM user to the workspace as a member. For more information, see Create a RAM user.
You must move the RAM user from the Available Accounts section to the Selected Accounts section before you assign a role to the RAM user.
RAM users to which different roles are assigned have different permissions on DataWorks features. For more information about built-in workspace-level roles of DataWorks, see Manage permissions on workspace-level services.
View and manage member roles.
After you add a RAM user to a workspace as a member, you can view the information of the member on the Workspace Members tab, manage roles for the member in the Role column, or click Remove in the Actions column to remove a member that is not the workspace owner.
What to do next
After you add workspace members and assign roles to them, you can read the following topics to understand how to use DataWorks.
For more information about how to create a simple auto triggered task, see Data development: Developers.
For more information about how to use DataWorks for data development, see Overview.