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:
The permissions of a custom role can be the same as or a subset of those of the parent role.
Log on to the WUYING Workspace console.
In the left-side navigation pane, choose Users & Administrators > Administrator.
Click the Role tab.
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.
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:
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.
Log on to the WUYING Workspace console.
In the left-side navigation pane, choose Users & Administrators > Administrator.
Click the Role tab.
In the role list, find the role that you want to modify and click Edit in the Actions column.
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.
Click OK.
Delete a custom role
If you no longer need a custom role, perform the following operations to delete the custom role:
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.
Log on to the WUYING Workspace console.
In the left-side navigation pane, choose Users & Administrators > Administrator.
Click the Role tab.
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.
In the Delete Role message, click Confirm.