Configuring Download Permissions (Advanced Feature)
This section describes how to create a download permission policy to control the permissions for dumping SQL script execution results and downloading data from the download center in DataArts Factory based on users or user groups.
- By default, a DataArts Studio instance has the default download permission policy named SYSTEM_GENERATE_DEFAULT_DATA_DOWNLOAD_POLICY, which allows all users to export data. You can modify or delete this default policy.
- If no download permission policy is configured, all users can export data by default.
- If one or more download permission policies are available, they together determine the permissions for users. Common users who are not the DAYU Administrator, Tenant Administrator, or data security administrator cannot dump SQL script execution results or download data from the download center in DataArts Factory. If they attempt to perform these operations, the system reports an error.
The download permission policies configured for a DataArts Studio instance take effect for all the workspaces of the instance.

In the new version mode, you can configure download permissions only when you are using the enterprise version. In the old version mode, this function is supported in the basic version or an advanced version.
Prerequisites
- Only the DAYU Administrator, Tenant Administrator, or data security administrator can create, edit, or delete download permission policies.
- Before configuring download permission policies, ensure that the authorized object has the permission to dump SQL script execution results and download data from the download center in DataArts Factory. (That is, the object has been granted the DataArts Studio permissions and assigned a workspace role. For details, see Authorizing Users to Use DataArts Studio.) In addition, a data export policy has been configured in DataArts Factory to allow the authorized object to export data (see Configuring Default Items for details). Otherwise, even if you have granted the dump and download permissions to users by configuring download permission policies, users cannot perform related operations.
Notes and Constraints
- Only the DAYU Administrator, Tenant Administrator, or data security administrator can create, edit, or delete download permission policies.
- To authorize users through download permission policies, ensure that the users have the permissions to perform related operations and that a data export policy has been configured in DataArts Factory to allow the users to export data. Otherwise, the users cannot perform related operations.
- After download permission policies are configured, common users who are not DAYU Administrator, Tenant Administrator, or data security administrator cannot dump data or download data from the download center in DataArts Factory.
- You cannot control the permissions to directly download SQL script execution results using download permission policies. Instead, you can control only the permissions to dump SQL script execution results and download data from the download center in DataArts Factory. You can also configure the maximum number of results that can be dumped at a time.
-
You can configure only one download permission policy for each user or user group, which does not conflict with the policies for all members.
Creating a Download Permission Policy
- On the DataArts Studio console, locate a workspace and click DataArts Security.
- In the navigation pane on the left, choose DataArts Resource Permission. On the displayed page, click the Download Permission tab.
Figure 1 Download Permission page
- On the Download Permission page, click Create. In the slide-out panel, set the parameters listed in Table 1 and click Submit.
Table 1 Parameters for configuring a download permission policy Parameter
Description
*Policy Name
Enter the name of the download permission policy. To facilitate policy management, you are advised to include the authorization object in the name.
The policy name must start with a letter and can contain a maximum of 64 characters, including letters, digits, and underscores (_).
Policy Description
Enter a description of the policy.
*Authorization Content
The default value is DataArts Factory. Select the operations to be authorized and set Maximum Records for a Dump which indicates the maximum number of records that can be dumped at a time.
NOTE:The maximum number of SQL script execution results that can be dumped at a time in DataArts Factory varies depending on the data source. Set Maximum Records for a Dump by referring to the descriptions in Downloading or Dumping a Script Execution Result.
*Authorized Object
Select the users to be authorized.
- Specified members: Select specified users or user groups.
NOTE:
You can configure only one download permission policy for each user or user group, which does not conflict with the policies for all members.
- All members (including new members): This policy takes effect for all members.
Figure 2 Creating a download permission policy - Specified members: Select specified users or user groups.
- (Optional) In the policy list, click Delete in the Operation column of the default download permission policy to delete the policy.
The default download permission policy allows all users to dump data and download data from the download center in DataArts Factory. To ensure that only the authorized objects (users who are not the DAYU Administrator, Tenant Administrator, or data security administrator) specified in the download permission policy that you have created have the dump and download permissions, you must delete the default policy.
Related Operations
- Editing policies: On the Download Permission page, locate a policy and click Edit in the Operation column to edit the policy.
- Deleting policies: On the Download Permission page, locate a policy and click Delete in the Operation column to delete the policy. To delete multiple policies at a time, select the policies and click Delete above the policy list.
The deletion operation cannot be undone. Exercise caution when performing this operation.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot