Updated on 2024-09-30 GMT+08:00

Queue Permission Management

Administrators and queue owners have full operation permissions on queues. They can grant operation permissions to other users based on service needs. This ensures that users can execute their jobs independently without any impact on the performance of other users' job execution. This section describes how to manage queue permissions.

Operation Precautions

  • The administrator and queue owner have all permissions, which cannot be set or modified by other users.
  • When setting queue permissions for a new user, ensure that the region of the user group to which the user belongs has the Tenant Guest permission.

    For details about the Tenant Guest permission and how to apply for the permission, see System Permissions and Creating a User Group in Identity and Access Management User Guide.

Operations

  1. On the top menu bar of the DLI management console, click Resources > Queue Management.
  2. Select the queue to be configured and choose Manage Permissions in the Operation column. The User Permission Info area displays the list of users who have permissions on the queue.

    You can grant queue permissions to new users, modify permissions for users who have some permissions on a queue, and revoke all permissions for a user on a queue.

    • Grant permissions to a new user.
      A new user does not have permissions on the queue.
      1. Click Set Permission on the right of User Permissions page. The Set Permission dialog box is displayed.
      2. Specify Username and select corresponding permissions.
      3. Click OK.

        Table 1 describes the related parameters.

        Figure 1 Queue permission granting
        Table 1 Parameter description

        Parameter

        Description

        Username

        Name of the authorized user.

        NOTE:

        The username is an existing IAM user name and has logged in to the DLI management console.

        Permission Settings

        • Delete Queues: This permission allows you to delete the queue.
        • Submit Jobs: This permission allows you to submit jobs using this queue.
        • Terminate Jobs: This permission allows you to terminate jobs submitted using this queue.
        • Grant Permission: This permission allows you to grant queue permissions to other users.
        • Revoke Permission: This permission allows you to revoke the queue permissions that other users have but cannot revoke the queue owner's permissions.
        • View Other User's Permissions: This permission allows you to view the queue permissions of other users.
        • Restart Queues: This permission allows you to restart queues.
        • Modify Queue Specifications: This permission allows you to modify queue specifications.
    • To grant or revoke permissions for a user who already has certain permissions on a queue, perform the following steps:
      1. In the list under User Permission Info for a queue, select the user whose permissions need to be modified and click Set Permission in the Operation column.
      2. In the displayed Set Permission dialog box, modify the permissions of the current user. Table 1 lists the detailed permission descriptions.
        If all options under Set Permission are gray, you are not allowed to change permissions on this queue. You can apply to the administrator, queue owner, or other authorized users for queue permission granting and revoking.
        Figure 2 Setting queue permissions
      3. Click OK.
    • To revoke all permissions for a user on a queue, perform the following steps:

      In the user list under Permission Info, select the user whose permission needs to be revoked and click Revoke Permission under Operation. In the Revoke Permission dialog box, click OK. All permissions on this queue are revoked.