Role-Based Access Control: One Role, Many Accounts
Role-based access control, or RBAC, organizes permissions into roles and assigns those roles to users. A role is a reusable bundle of allowed actions, such as reading a record or approving a change, so access can be managed through the bundle instead of separately for each person.
A permission specifies what an account is allowed to do to a particular resource. The resource might be a file, an application or another item controlled by the system. RBAC isn't limited to letting a computer connect to a network.
It also addresses a different question from signing in. Authentication checks the proof used to sign in, such as a password. Authorization determines which actions the account may perform.
- Keep every photo and file on a box you own, and reach them from anywhere.
- Let backups run on their own so one dead laptop doesn't take your files with it.
- Add two drives and a failed disk no longer means lost files.
One bundle, several accounts
Suppose an organization wants staff to prepare changes to a shared reference document, with a different person responsible for approval. It might define these roles:
| Role | Illustrative permissions |
|---|---|
| Reader | View the document |
| Contributor | View it and submit proposed changes |
| Approver | View it and approve proposed changes |
Assigning the Contributor role gives an account that bundle. The organization doesn't need to recreate the same pair of permissions for each new contributor. Changing a role's permissions changes the bundle available through that role to the accounts assigned to it.
The role names in this example are choices, not universal definitions. Another application may give a role named Contributor very different powers. Likewise, a job title such as manager or administrator doesn't tell you exactly what a system permits its holder to do.
The U.S. National Institute of Standards and Technology, or NIST, describes this relationship between users, roles and permissions in its RBAC model explanation. It also describes optional rules that can support separation of duties, the practice of dividing important actions so one person doesn't control the entire sequence.
In the document example, the organization might want contributors to be unable to approve their own submissions. Merely creating two role names doesn't enforce that requirement. The system's supported rules and the actual assignments must provide the separation.
Permission also has a reach
“May edit” is incomplete without “may edit what?” The scope of a permission identifies the resources it covers.
Microsoft Azure offers a concrete implementation. In Azure RBAC, an assignment connects whoever receives access with a role containing permissions and the resources it covers. The same sort of permission can apply narrowly or across a larger collection of resources, depending on that scope.
That makes the assignment as important as the role definition. Allowing an account to manage one resource is a different decision from allowing it to manage a whole collection.
Azure also illustrates why removing one assignment may leave access intact. Its role permissions are additive: other assignments can provide permissions too, including those obtained through a group or a broader scope. Azure also checks conditions and explicit denials of access, so its full decision is more detailed than simply reading one role name.
Other RBAC systems may apply different rules. In each case, checking access means examining all the assignments that can grant it.
Who Gets Access: A Job Title or a Set of Conditions?
Roles can organize excessive access, too
RBAC can help apply least privilege, which means granting only the access needed for the work. It doesn't determine those needs on its own.
An overbroad role is still overbroad when many accounts use it. A role left on an account after duties change can preserve permissions the person no longer needs. Role design and review therefore remain part of managing access.
If a contributor moves to work that requires only reading, assigning the Reader role is only part of the change. The organization also needs to consider whether the old Contributor assignment still grants powers the person no longer needs.
Least Privilege: Give Each Account the Power Its Work Needs

Separation of Duties: Who Checks the Person With Access?

Access Matrix: A Table That Shows Who Can Do What

QUOTE:
"Amateurs hack systems, professionals hack people."
