Create Workspace Roles
This section explains how to create a workspace role.
Prerequisites
You should join a workspace and have the Role Management permission within the workspace. For more information, refer to "Workspace Members" and "Workspace Roles".
Steps
-
Log in to the KubeSphere web console with a user who has the Role Management permission, and access your workspace.
-
Click Workspace Settings > Workspace Roles in the left navigation pane.
-
Click Create on the page.
-
In the Create Workspace Role dialog, set the name, alias, and description of the workspace role, then click Edit Permissions.
Parameter Description Name
The name of the workspace role. The name can only contain lowercase letters, numbers, and hyphens (-), must start and end with a lowercase letter or number, and can be up to 63 characters long.
Alias
The alias of the workspace role. The alias for different workspace roles can be the same. The alias can only contain Chinese characters, letters, numbers, and hyphens (-), and must not start or end with a hyphen (-), with a maximum length of 63 characters.
Description
The description of the workspace role. The description can contain any characters, with a maximum length of 256 characters.
-
In the Edit Permissions dialog, set the permissions for the workspace role, then click OK.
All workspace members can view basic information about the workspace. The permissions required for other operations are as follows:
-
Projects
Permission Operations Allowed Project Creation
Create projects and become an administrator of the created projects.
Project Management
Create, edit, and delete projects in the workspace.
Project Viewing
View all projects and project resources.
-
Applications
Permission Operations Allowed App Repos Management
Add app repositories, edit app repositories, delete app repositories.
App Repos Viewing
View the list of app repositories.
App/App Version/App Instance Management
Create app templates, edit app template information, install apps using app templates, upload app versions, delete app versions, publish app versions to the app store, delete app templates.
App/App Version/App Instance Viewing
View the list of app templates, view app template details, download Helm Chart compressed files.
-
Access Control
Permission Operations Allowed Member Viewing
View the list of workspace members, view details of workspace members.
Role Viewing
View the list of workspace roles, view details of workspace roles.
-
Feedback
Was this page Helpful?
Receive the latest news, articles and updates from KubeSphere
Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.