All Products
Search
Document Center

:Create, modify, or delete a role

Last Updated:Aug 28, 2023

By default, WUYING Workspace has four system roles. Each role has definite permissions on specific resources. You can create custom roles based on the system roles and modify or delete custom roles. This topic describes how to create, modify, or delete a custom role.

Background

WUYING Workspace roles are different collections of permissions on resources. In a role, the permissions on WUYING Workspace resources or resource groups are defined. Roles fall into system roles and custom roles. For more information, see Permission management overview.

Create a custom role

You must use a system role to create a custom role. A system role is also known as a parent role. To create a custom role, perform the following operations:

Note

The permissions of a custom role can be the same as or a subset of those of the parent role.

  1. Log on to the WUYING Workspace console.

  2. In the left-side navigation pane, choose Users & Administrators > Administrator.

  3. Click the Role tab.

  4. Click Create Role and configure parameters. The following table describes the parameters.

    Parameter

    Description

    Name

    The name of the role.

    Parent Role

    The parent role of the custom role. Valid values:

    • Super Administrator

    • Security Audit Administrator

    • Security Administrator

    • System Administrator

    (Optional) Description

    The description of the role.

    Configure Permission

    The permissions that you want to grant to the role. In the Configure Permission section, select the feature modules and actions on which you want to grant permissions to the role.

  5. Click OK.

Modify the properties of a custom role

You can modify the properties, including the name, parent role, description, and permissions, of a custom role. To modify the properties of a custom role, perform the following operations:

Important

You can change the properties of only custom roles. When you modify a custom role, take note that the permissions of the custom role on feature modules and actions can only be the same as or a subset of those of its parent role.

  1. Log on to the WUYING Workspace console.

  2. In the left-side navigation pane, choose Users & Administrators > Administrator.

  3. Click the Role tab.

  4. In the role list, find the role that you want to modify and click Edit in the Actions column.

  5. On the Edit Role page, modify parameters.

    You can modify the name, parent role, and permissions on feature modules and actions of the role based on your business requirements.

  6. Click OK.

Delete a custom role

If you no longer need a custom role, perform the following operations to delete the custom role:

Important

You cannot delete system roles. You can only delete custom roles that are not associated with any WUYING Workspace administrators. If you want to associate a WUYING Workspace administrator with another role, see Create, modify, or delete a WUYING Workspace administrator.

  1. Log on to the WUYING Workspace console.

  2. In the left-side navigation pane, choose Users & Administrators > Administrator.

  3. Click the Role tab.

  4. Perform the following operations to delete custom roles:

    • Delete a single role

      • Find the role that you want to delete and click Delete in the Actions column.

      • In the role list, select the role that you want to delete and click Delete Role in the lower part of the role list.

    • Delete multiple roles

      Select multiple roles that you want to delete and click Delete Role in the lower part of the role list.

  5. In the Delete Role message, click Confirm.