Department Management

    A department in a workspace is a logical unit used for permission control. You can set a workspace role, multiple project roles, and multiple DevOps project roles in a department, and assign users to the department to control user permissions in batches.

    • You need to create a workspace and a user assigned the role in the workspace. This document uses the workspace and the account as an example.
    • To set project roles or DevOps project roles in a department, you need to in the workspace.
    1. Log in to the KubeSphere web console as and go to the workspace.

    2. On the left navigation bar, choose Department Management under Workspace Settings, and click Set Departments on the right.

    3. Click OK after the department is created, and then click Close. On the Department Management page, the created department is displayed in a department tree on the left.
    1. On the Department Management page, select a department in the department tree on the left and click Not Assigned on the right.

    1. On the Department Management page, select a department in the department tree on the left and click Assigned on the right.
    2. In the assigned user list, click on the right of a user, enter the username in the displayed dialog box, and click OK to remove the user.
    1. On the Department Management page, click Set Departments.

    2. Click Department Management - 图3 on the right of the department to edit it.

      Note

      For details, see Create a Department.

    3. Click on the right of the department, enter the department name in the displayed dialog box, and click OK to delete the department.

      Note

      • If a department contains sub-departments, the sub-departments will also be deleted.