Identity and Access Management
Identity and Access Management provides unified user identity management and access control. Administrators can manage user identities, user groups, roles and permissions, and SSO servers. You can create local users or connect to OIDC, AD, or LDAP authentication servers to synchronize users from external authentication systems to the platform.
Roles define the operations that users and user groups can perform. By assigning roles to users or user groups and combining them with resource sharing relationships, administrators can control the scope of platform resources that different users can access.
Prerequisites
Before you use ZSphere Identity and Access Management, make sure the license meet the following requirements:
- To use Single Sign-On, roles, and user groups, make sure ZSphere is installed with a valid Advanced Edition license.
User Management
A user represents an individual and is the basic unit in identity and access management. Users are created by admins or synchronized from a unified authentication system, and are managed by admins. By sharing resources with users and assigning roles to them, you can achieve fine-grained control over resource ownership and permissions.
Some key features of users include:
- Users can be either local users or SSO users. Local users are created directly by admins, while SSO users are synchronized from a unified authentication server to the platform.
- User quotas are standards set by admins to control the total amount of resources allocated to users, including compute resources, data storage resources, network resources, and so on.
- Users can be members of one or more user groups.
- Users can be assigned one or more roles. When a user is assigned multiple roles, the user has the combined permissions of those roles. After a user joins a user group, the user inherits the roles assigned to that group in addition to any roles already assigned to the user.
Create a User
Create a local user, assign resource ownership and roles, and then use the user to log in.
Before you begin
- You need to have admin permissions.
- If you need to use the roles and user groups functionality, Make sure ZSphere is installed with a valid Advanced Edition license.
Procedure
Disable or Enable a User
After disabling a regular user, the user will not be able to log in to ZSphere unless the admin enables the user.
Before you begin
Procedure
- In the navigation pane, choose .
- On the User page, select the target user and then click .
- Review the selected items and click OK.
- To enable the user later, click .
Modify User Configuration
Edit the user's basic information, such as the roles assigned to the user, the user groups they joined, and the resources shared with the user.
Before you begin
Procedure
- In the navigation pane, choose .
- On the User page, select the target user and then click .
- In the Modify Configuration dialog, make the necessary changes to the configuration.
Change a User Password
Before you begin
Procedure
- In the navigation pane, choose .
- On the User page, select the target user and then click .
- In the Change Password dialog, enter the new password and confirm it again, then click OK.
Convert a User to an Admin User
Procedure
- In the navigation pane, choose .
- On the User Management page, select the target user, and then click .
- After you read and confirm the risk information, click OK.
Results
- Once a regular user is changed to an admin user, the change cannot be undone.
- After the change, the previously assigned roles, user group memberships, and shared resources will be automatically removed from the regular user.
Delete a User
Before you begin
Procedure
- In the navigation pane, choose .
- On the User page, select the target user and then click .
- In the Delete User? dialog, carefully read the risk warnings.
Results
- The deleted user will no longer be able to log in to the platform, and ownership of their resources will be transferred to admin.
- Deleting an SSO user does not affect the user information in the source authentication server.
User Group Management
A user group is a collection of users that supports permission control at the group level. With user groups, you can assign permissions to multiple users for easier management. For example, if you have a user group named UserGroup-1 and assign storage-related roles to this user group, all users in the group automatically inherit the role permissions from UserGroup-1. If a new user needs storage-related permissions, you can grant the permissions by adding the user to UserGroup-1. When users change, you do not need to modify permissions for each user. You can remove users from the user group as needed.
Some key features of user groups include:
- A user group can contain multiple users, and a user can belong to multiple user groups.
- User groups cannot be nested. User groups can contain only users, not other user groups.
- A user group can be assigned multiple roles. When a user group is assigned multiple roles, users in the group inherit the combined permissions of those roles.
Create a User Group
Create a user group, add users to the group, so that all users under the user group can obtain the corresponding permissions, facilitating unified permission management.
Before you begin
- You need to have admin permissions.
- Make sure ZSphere is installed with a valid Advanced Edition license.
Procedure
Modify User Group Configuration
Edit the basic information of a user group, such as the users within the group, roles assigned to the group, and resources shared with the group.
Before you begin
- You need to have admin permissions.
- Make sure ZSphere is installed with a valid Advanced Edition license.
Procedure
- In the navigation pane, choose .
- On the User Group page, select the target user group and then click .
- In the Modify Configuration dialog, make the necessary changes as required.
Delete a User Group
Before you begin
- You need to have admin permissions.
- Make sure ZSphere is installed with a valid Advanced Edition license.
Procedure
- In the navigation pane, choose .
- On the User Group page, select the target user group and then click .
- In the Delete User Group? dialog, carefully read the risk warnings.
Results
Role and Permission Management
A role is a collection of permissions. By assigning roles to users or user groups, administrators grant them the ability to call related APIs and perform resource operations. ZSphere adopts a Role-Based Access Control (RBAC) authorization model, defining resource permissions based on the user's job function, or role. Through roles, you can achieve fine-grained control over user permissions.
Built-in Roles
ZSphere provides the following built-in roles.
| User Type | Role Name | Description |
|---|---|---|
| Admin User | System Administrator | Maintains daily system operations. |
| Security Administrator | Manages users, security policies, and security attributes. | |
| Auditor | Manages system event information and auditing. | |
| Read-Only Role | Has read-only access to system resources without write permissions. | |
| Regular User | VM User | Allows regular users to create VMs and perform basic VM management. |
Create a Custom Role
To meet diverse access control requirements, you can create custom roles.
Before you begin
Procedure
Clone a Role
To meet diverse access control requirements, in addition to creating custom roles, you can clone existing roles.
Before you begin
Procedure
- In the navigation pane, choose .
- On the Role page, select the target role and then click .
- In the Clone Role dialog, enter a name and description.
- Review the configuration and click OK.
Modify Role Permissions
Edit the interface and API permissions of custom roles.
Before you begin
- Make sure ZSphere is installed with a valid Advanced Edition license.
- The selected role is not a system default role.
Procedure
- In the navigation pane, choose .
- On the Role page, click the target role name to enter the Overview details page.
- On the Overview tab, click the Edit icon, and then modify the role's UI permissions as needed.
- Click API Permissions to enter the API Permissions tab.
- On the API Permissions tab, click the Edit icon, and then modify the role's API permissions as needed.
Delete a Role
Before you begin
- Make sure ZSphere is installed with a valid Advanced Edition license.
- Make sure the selected role is not a built-in system role.
- Make sure the selected role is not assigned to any user or user group.
Procedure
- In the navigation pane, choose .
- On the Role page, select the target role and then click .
- Review the selected items and click OK.
Single Sign-On
ZSphere provides unified identity authentication login services and supports access to unified authentication login systems. SSO users can directly log in to the platform and use platform resources. Currently, OIDC, AD, and LDAP authentication servers are supported.
- OIDC authentication: OIDC (OpenID Connect) is an authentication protocol built on the OAuth2 framework. It allows clients to verify user identities and obtain basic user profile information. Through an OIDC authentication server, user information can be synchronized to the platform according to mapping rules, and OIDC users can log in to the platform without a password.
- AD authentication: AD (Active Directory) is a directory service for Windows Standard Server, Windows Enterprise Server, and Windows Datacenter Server, providing an independent and standardized login authentication system for increasingly diverse enterprise office applications. Through an AD authentication server, AD users can be synchronized to the platform and can log in to the platform by using the specified AD login attribute.
- LDAP authentication: LDAP (Lightweight Directory Access Protocol) is a protocol for accessing directory services, providing a standardized directory service for increasingly diverse enterprise office applications. Through an LDAP authentication server, LDAP users can be synchronized to the platform and can log in to the platform by using the specified LDAP login attribute.
You can add up to two SSO servers. Only one SSO server of each type can be added.
Add an OIDC SSO Server
Before you begin
- Make sure ZSphere is installed with a valid Advanced Edition license.
- Make sure fewer than two SSO servers have been added. When the limit is reached, the Add SSO Server button is disabled.
- Make sure no OIDC SSO server exists. Only one SSO server of each type can be added.
Procedure
Add an AD SSO Server
Before you begin
- Make sure ZSphere is installed with a valid Advanced Edition license.
- Make sure fewer than two SSO servers have been added. When the limit is reached, the Add SSO Server button is disabled.
- Make sure no AD SSO server exists. Only one SSO server of each type can be added.
Procedure
Add an LDAP SSO Server
Before you begin
- Make sure ZSphere is installed with a valid Advanced Edition license.
- Make sure fewer than two SSO servers have been added. When the limit is reached, the Add SSO Server button is disabled.
- Make sure no LDAP SSO server exists. Only one SSO server of each type can be added.
