What it means
Role-based access control, or RBAC, puts a layer between people and permissions. An administrator defines roles that match jobs and attaches permissions to each role. People are then assigned to roles. When a request arrives, the system looks up the user's roles and checks whether any of them allows the action. This makes access easier to grant, review and remove, because a change to a role reaches everyone who holds it. RBAC works well while access depends only on the job. It cannot see the moment of a request, such as the device, the time or the place.
The idea at a glance / Access
In RBAC, the role carries the permission.
Two people send the same request. The decision reads only their roles. See what the role check never looks at.
Meridian’s flight console uses role-based access control, or RBAC. In this example the role Flight_Director carries the permission to approve a thruster burn, and the role SOC_Tier1 does not. Priya holds Flight_Director. Nyx holds SOC_Tier1. Both ask to approve a burn on CHRONOS-4.
READ THE PICTURE
Read the role check
Priya’s role carries the burn permission, so she is permitted. Nyx’s role does not, so she is denied. Device, time and place play no part.
Keep in mindTwo users, two roles and one permission. The role names are the lesson’s. Who holds them is this example’s. Role hierarchies, and rules that stop one person holding two conflicting roles, are not shown. A role check does not see the device, the time or the place. Building those into role names causes role explosion, which attribute-based access control avoids.
Read the complete example
- Read the role check. Priya’s role carries the burn permission, so she is permitted. Nyx’s role does not, so she is denied. Device, time and place play no part. The console never asks whether Priya, as a person, may approve a burn. It looks up her roles, then looks up what those roles allow. Priya holds Flight_Director, and Flight_Director includes approve burn, so the request is permitted. Nyx holds SOC_Tier1, which allows reading alerts and nothing on the flight console, so the same request is denied. Changing what flight directors may do means changing one role, not every person. Removing Priya’s role removes all of its permissions at once. The check has a blind side. Priya is permitted from an unmanaged laptop at 03:00 exactly as she is from the control room during a launch window, because nothing in a role describes the moment.
Two users, two roles and one permission. The role names are the lesson’s. Who holds them is this example’s. Role hierarchies, and rules that stop one person holding two conflicting roles, are not shown. A role check does not see the device, the time or the place. Building those into role names causes role explosion, which attribute-based access control avoids.
Diagram references: NIST: Role Based Access Control project and the INCITS 359 standard
AN ILLUSTRATIVE SCENARIO
Same request, different roles
On Meridian's flight console, the role Flight_Director carries the permission to approve a thruster burn. Priya holds that role and Nyx holds SOC_Tier1. Both ask to approve a burn on CHRONOS-4. Priya is permitted and Nyx is denied. The console would also permit Priya from an unmanaged laptop at 03:00, because nothing in her role describes the device or the hour.
Put it to work
- List the jobs in one team and the actions each job needs, then define one role per job from that list.
- Assign people to roles through a recorded request and approval, and avoid granting any permission to a person directly.
- Review role membership on a schedule and whenever someone changes jobs, removing roles that the new job does not need.
How to check your work
Pick one role and list its members and permissions. Confirm with the team's manager that every member still does that job. Then sign in as a test user without the role and confirm the action is denied.
Connect the ideas
- ABAC
An access control model in which a policy engine decides each request from attributes of the subject, the object, the action, and the environment at that moment.
- Authorization
The decision about whether a person, device, workload, or anonymous requester may perform a particular action on a resource.
- Least privilege
Granting each identity only the actions, objects, and time window required for the current job.
- Privilege creep
The slow accumulation of standing access after the original job that justified it has ended.