Updated on 2025-08-15 GMT+08:00

Managing Project Permission Templates

In CodeArts, you can simplify setting up project role permissions by reusing a permission template.

Constraints

  • Each account can create up to 20 permission templates in a single region.
  • Permission templates can be reused only between projects of the same type.
  • Changes to a permission template will not affect the projects that use the template.

Creating a Permission Template

  1. Go to the CodeArts homepage.

    1. Log in to the CodeArts console, click , and select a region where you have enabled CodeArts.
    2. Click Go to Workspace.

      If your account uses the old billing mode (see Old Billing Modes), click Access Service.

  2. Click the target project name.
  3. In the navigation pane, choose Settings > Permissions.
  4. Click Save as Template.
  5. In the displayed dialog box, enter a template name and description, and click OK.

    Figure 1 Saving as a template
    Table 1 Saving as a template

    Parameter

    Description

    Name

    The name of the permission template. Enter a maximum of 64 characters. Letters and digits are supported.

    Description

    Describe the permission template. Enter a maximum of 256 characters. Letters, digits, spaces, commas (,), periods (.), parentheses (()), and brackets ([]) are supported.

    This parameter is optional. Configure it as needed.

  6. Click the username on the top navigation bar and choose All Account Settings.
  7. Choose General > Permission Template. The saved permission template is displayed, as shown in the following figure.

    Figure 2 Permission template list

Using a Permission Template in a Project

  1. Go to the CodeArts homepage.

    1. Log in to the CodeArts console, click , and select a region where you have enabled CodeArts.
    2. Click Go to Workspace.

      If your account uses the old billing mode (see Old Billing Modes), click Access Service.

  2. Click the target project name.
  3. In the navigation pane, choose Settings > Permissions.
  4. Click the permission template drop-down list and select a template.

    Figure 3 Applying a template

  5. Click OK.

    Check the updated role permissions.

Managing a Permission Template

  1. Go to the CodeArts homepage.

    1. Log in to the CodeArts console, click , and select a region where you have enabled CodeArts.
    2. Click Go to Workspace.

      If your account uses the old billing mode (see Old Billing Modes), click Access Service.

  2. Click the username on the top navigation bar and choose All Account Settings.
  3. Choose General > Permission Template. The saved permission template is displayed.
  4. Locate the target template and perform the operations listed in the table below as needed.

    Table 2 Managing a permission template

    Operation

    Description

    Modifying the permission template

    Click in the Operation column. In the displayed dialog box, modify the template name and description, and click OK.

    The modified template information is displayed in the list.

    Configuring the permission template

    Click in the Operation column. Configure permissions for each role, and click Save.

    Check the updated permissions.

    Deleting the permission template

    WARNING:

    The deletion cannot be undone. Exercise caution when performing this operation.

    Click in the Operation column. In the displayed dialog box, confirm the operation, and click OK.

    The deleted template is no longer displayed in the list.