DataWorks allows workspace administrators to configure approval policies for publishing data service APIs in workspaces.

Create an approval policy

  1. Log on to the DataWorks console.
  2. In the left-side navigation pane, click Workspaces.
  3. After you select the region in which the workspace that you want to manage resides, find the workspace and click Data Analytics in the Actions column.
  4. On the DataStudio page, click the Icon icon in the upper-left corner and choose All Products > Data governance > Approval Center.
  5. In the left-side navigation pane of the page that appears, choose Policies > DataService Studio.
    On the page that appears, you can view a list of created approval policies and edit and delete approval policies.
  6. Click Create Policy in the upper-right corner. Complete the Create Policy wizard.

Enter the basic information

Configure Basic Information sectionSet the Policy Name and Purpose parameters based on the actual scenario to which the approval policy applies.

Specify the data range

You must specify the data range to which this approval policy applies based on the actual scenario. After this approval policy is created, the applications for the permissions on the data in this data range must be processed based on this approval policy.

Configure Effective Scope for Policy section

Configure the notification methods

Three notification methods are supported: text messages, emails, and DingTalk chatbots. Configure Notification Method sectionAfter you configure the notification methods, notifications are sent to approvers based on the configured notification methods when a permission application is submitted for approval.
Note In the Configure Processing Links step, you can specify approvers on each approval node.
  • To ensure that the approvers can receive approval notifications by using text messages or emails, you must add the approvers as alert contacts of DataWorks.
  • To ensure that the approvers can receive notifications by using a DingTalk chatbot, select Custom Keywords when you set the Security Settings parameter in the Add Robot dialog box. Then, enter DataWorks in the Custom Keywords field. Make sure that the other check boxes are cleared when you set the Security Settings parameter.

    If you do not add DataWorks as a custom keyword or you select other check boxes when you set the Security Settings parameter, the approvers cannot receive notifications by using the DingTalk chatbot.

Configure the approval nodes

Configure Processing Links sectionWhen you configure the approval nodes, take note of the following items:
  • The approval nodes are sequentially connected. After you configure the approval policy, the approval process specified in the approval policy sequentially flows from node to node. After an approver on an approval node gives approval, the approvers on the next approval node receive a notification and then start approval.
  • You can specify different roles as approvers on different approval nodes. The following roles are supported: DataWorks workspace roles, DataWorks workspace member, table owner, Alibaba Cloud account, and MaxCompute roles.
    Note
    • When an application is submitted for approval, DataWorks sends notifications to the approvers on the approval nodes based on the notification methods configured in the preceding step. You must add the approvers as alert contacts of DataWorks.
    • If multiple users that assume the same role are specified as approvers on an approval node, notifications are sent to all the approvers. In this case, if one of the approvers on an approval node gives approval, the application is forwarded to the next approval node.