Role-based access control, or RBAC, is a permission model that assigns users or services to roles such as administrator, operator, or viewer. Each role has a defined set of allowed actions, and the system checks those roles before permitting a request. Instead of granting permissions one by one, RBAC makes access decisions based on job function or trust level.
In cyber security, RBAC helps limit damage from stolen credentials, insider misuse, and coding mistakes in management tools. It is common in dashboards, cloud consoles, and container control planes, where a low-privilege account should not be able to create services, change policies, or execute code. Attacks often succeed when role checks are missing, inconsistent, or bypassed in a backend route. Defenders use RBAC to enforce least privilege, but it only works when every administrative action is mapped correctly and validated on the server side.


