> Documentation index for agents: /hcp/3.3/en/llms.txt

# Roles and access

A Center user can perform only the actions that their roles allow. A role is a set of privileges; a privilege is the right to perform one action: create a virtual machine (VM), start a VM, view the list of networks. Without a role, a user has no permissions, not even to view anything.

A role is assigned for the whole cluster or in a specific VDC (virtual data center). A role in a VDC gives permissions only to the objects of that VDC. The permissions of several roles add up, and there are no deny permissions: to withdraw a permission, revoke the role or remove the privilege from a custom role.

## Role-based permissions

Permissions are granted through roles rather than one privilege at a time: this way, the permissions of employees with the same duties are changed in one place. The scope separates cluster administrators from those who work in VDCs.

Recommendations:

- **Several users with the Cluster master role**, not one: only a **Cluster master** can unlock an account and restore access.
- **Roles in a VDC** — for all other employees.
- **A custom role** — only when a built-in role grants excessive or insufficient permissions.

## Privileges and roles

Privileges are grouped into categories: `VM`, `Network`, `Edge`, `Storage`, `Node`, `User` and others. Their names in the web interface are in English, for example `Create VM`.

Built-in roles exist in every cluster; you cannot change or delete them. A **Cluster master** builds a custom role: it can be renamed, changed and deleted. A deleted custom role is removed from all users. Role management, DRS configuration and application, and node maintenance cannot be included in a custom role: only **Cluster master** has these permissions — [Create a custom role](/hcp/3.3/en/users/create-role/index.md).

## Scope: cluster and VDC

- **For the whole cluster**, you assign **Cluster master**, **Security Admin** and **Resource viewer**. **Cluster master** is a role, not an account: roles cannot be assigned to the built-in `superadmin` account.
- **In a VDC**, you assign **VDC admin**, **VDC user**, **VDC viewer**, **Vm Developer** and all custom roles. Their permissions on VMs, networks and routers apply only in that VDC. One role can be assigned in several VDCs.

Note two restrictions:

- **Cluster-level privileges** — nodes, users, settings — apply to the whole cluster, even in a role assigned in a VDC. Do not include them in roles for VDC users.
- **Some privileges** apply only to the user's own objects: a **VDC admin** changes and deletes only the networks and routers they created.

For what each built-in role grants, see [Roles and privileges](/hcp/3.3/en/reference/roles-privileges/index.md).

## Sign-in and access restrictions

Besides roles, access is protected by:

- **Security policy** — one per cluster: password requirements and lockout after failed sign-in attempts. It is not set for an individual user: the section on the user page only shows the number of failed sign-in attempts.
- **CIDR restrictions** and **virtual host restrictions** — the user works only from the specified addresses and through the specified hosts. Center checks them on every request. This is not a cluster firewall: the restrictions apply to the requests of one user.

## See also

- [Assign a role](/hcp/3.3/en/users/assign-role/index.md)
- [Create a custom role](/hcp/3.3/en/users/create-role/index.md)
- [Restrict sign-in by address (CIDR) and virtual host](/hcp/3.3/en/users/restrict-user-access/index.md)
- [Set the security policy: passwords and sessions](/hcp/3.3/en/users/set-security-policy/index.md)
