Workspace Role and Member Management

    At least one workspace has been created, such as . Besides, you need a user of the workspace-admin role (for example, ws-admin) at the workspace level. For more information, see Create Workspaces, Projects, Users and Roles.

    Note

    The actual role name follows a naming convention: workspace name-role name. For example, for a workspace named , the actual role name of the role admin is demo-workspace-admin.

    In Workspace Roles, there are four available built-in roles. Built-in roles are created automatically by KubeSphere when a workspace is created and they cannot be edited or deleted. You can only view permissions included in a built-in role or assign it to a user.

    To view the permissions that a role contains:

    1. Click the Authorized Users tab to see all the users that are granted the role.

    1. Navigate to Workspace Roles under Workspace Settings.

    2. In Workspace Roles, click Create and set a role Name (for example, demo-project-admin). Click Edit Permissions to continue.

    3. In the pop-up window, permissions are categorized into different Modules. In this example, click Project Management and select Project Creation, Project Management, and Project Viewing for this role. Click OK to finish creating the role.

      Note

    1. Navigate to Workspace Members under Workspace Settings, and click Invite.

    2. Invite a user to the workspace by clicking on the right of it and assign a role to it.

    3. After you add the user to the workspace, click OK. In Workspace Members, you can see the user in the list.

    4. To edit the role of an existing user or remove the user from the workspace, click Workspace Role and Member Management - 图3 on the right and select the corresponding operation.