Manage custom roles
This page describes how to manage custom roles, including updating the basic information and permission information of custom roles, copying existing roles as new roles, and deleting custom roles.
Update the basic information of the custom role
Support updating the display name and description of custom roles on the platform.
Procedure
-
In the left navigation bar, click Users > Roles.
-
Click the name of the role to be updated.
-
Click Actions > Update Basics in the upper right corner of the page.
-
Update the Display name and Description of the role.
-
Click Update.
Update custom role permission information
Support updating the permission information of custom roles on the platform, and adding or deleting the operation permissions of roles on resources (including custom resources) on the platform.
Procedure
-
In the left navigation bar, click Users > Roles.
-
Click the name of the role to be updated.
-
Click Actions > Update Role Permissions in the upper right corner of the permission area.
-
On the Update Role Permissions page, refer to Create Custom Roles to update the permission configuration.
-
Click Confirm.
Copy an existing role into a new role
You can copy an existing role, including system roles and custom roles, on the platform to create a new role. When copying a role, all permission information of the existing role will be copied. You can add or remove permissions for the new role based on your actual usage scenario.
Caution: The permissions of the new role cannot exceed the permissions of the role to which the creator belongs.
Procedure
-
In the left navigation bar, click Users > Roles.
-
Click the name of the role to be copied.
-
Click Actions > Copy as new role in the upper right corner of the page.
-
On the Copy as new role page, you can configure the name, display name, description, type, and permissions of the new role by referring to Creating a custom role .
-
Click Create.
Delete the custom role
You can delete a custom role that is no longer in use.
Caution: When a custom role is deleted, the binding relationship between the role and users will be deleted.
-
Users who have been assigned the role will no longer have the permissions of the role.
-
The role will be removed from the user’s list of roles.
Procedure
-
In the left navigation bar, click Users > Roles.
-
Click the name of the role to be deleted.
-
Click Actions > Delete in the upper right corner of the page.
-
Enter the name of the role and click Delete.