Role Management
RBAC is a role-based resource access control mechanism. The API7 Dashboard controls the permissions that users can access resources by assigning roles to different users.
Query role
Click "Access Control" menu in the top menu bar to enter the access control page, click " Roles " on the left to enter the list. The roles in API7 Dashboard are divided into System Role and Cluster Role.
The list page will display the multiple resources that have been created separately in the form of tabs.
- System Role: A role with cluster management privileges, access permission control, or system settings permissions. System Role is created by default after API7 Dashboard is initialized:
| Role name | Description |
|---|---|
| system_admin | System admin, which can manage all resources in the system |

- Cluster Role: In the multi clusters scenario, API7 Dashboard supports fine grain authority control of the resources under the cluster. The role with the management rights of the resources in the cluster, and the cluster role in API7 Dashboard belongs to the specific cluster. After the cluster is initialized, API7 Dashboard will create three cluster roles by default for users to perform functional operations in the cluster. At the same time, after the working partition in the cluster is initialized, two roles in the working partition will also be created by default for users to perform functional operations in the working partition.
| Role name | Description |
|---|---|
| cluster_admin | The administrator of the cluster can perform cluster node, cluster user authorization and management operations of resources in the cluster |
| cluster_observer | The observer of the cluster can view all the resource information under the cluster |
| cluster_operator | Cluster operator, can manage cluster resources |
{workspacename}_admin | Working partition administrator, can perform resource management operations in the working partition |
{workspacename}_observer | The observer of the working partition can view all the resource information in the working partition |