OceanBase Migration Service (OMS) isolates and manages roles by department. This means that a user with the ADMIN role in a department has the read and write permissions on all projects only in this department. This topic describes how to create, modify, and delete a department as the root user.
Limits
You can go to the Department Management page only when you log on as the root user.
A default department is provided, and you cannot modify or delete the default department.
If a department has members, the department cannot be deleted.
To be compatible with the ADMIN role, OMS does not limit all the system capabilities. For example, the number of components for each server and the batch operations in a component based on IP addresses are not limited.
Create a department
Log on to the console of OMS.
In the left-side navigation pane, choose System Management > Permission Management.
On the Permission Management page, click the Department Management tab.
In the upper-right corner of the Department Management tab, click Create Department.
In the Create Department dialog box, specify the department name.
Notice:
The department name cannot exceed 40 characters in length.
Click OK.
Change the department name
Log on to the console of OMS.
In the left-side navigation pane, choose System Management > Permission Management.
On the Permission Management page, click the Department Management tab.
On the Department Management tab, click Change Name in the Actions column of the target department.
Enter the new department name in the field and click Save.
Delete a department
Log on to the console of OMS.
In the left-side navigation pane, choose System Management > Permission Management.
On the Permission Management page, click the Department Management tab.
On the Department Management tab, click Delete in the Actions column of the target department that does not have any member.
In the dialog box that appears, click OK.