What it means
NIST SP 800-53 Rev. 5 defines RBAC as "access control based on user roles," where a role is a collection of access authorizations a user receives by taking on that role. Roles usually mirror job functions, and one role can cover a single person or a whole team. Permissions attach to the role, so adding a new engineer means assigning the engineer role, and changing what engineers can do means editing one role definition.
RBAC makes least privilege and segregation of duties practical at scale. A company can define a role for each job, mark pairs of roles that one person should not hold, and review role membership in one pass. Its weak point is role creep: people who change teams keep their old roles, and roles granted for one project become permanent.
Where it shows up in an audit
SOC 2 criterion CC6.3 requires access to be granted, changed, and removed "based on roles, responsibilities, or the system design and changes," and its points of focus include Uses Access Control Structures, which gives role-based access controls as an example, and Reviews Access Roles and Rules. ISO 27001:2022 Annex A 5.15 and 5.18 cover access rules and access rights, and SOX ITGC testing looks at roles in financial applications, where a single role can carry conflicting permissions.
Auditors test RBAC at two levels. First, the role design: we obtain the role matrix that maps each role to its permissions, confirm management approved it, and inspect the role settings in the system to confirm they match the matrix. Second, the assignments: we compare a sample of users' roles with their HR job titles, test that access requests name a role and carry an approval, and inspect the periodic review of role membership.
Example
A SaaS company maps six identity provider groups to permission sets in its cloud account: read-only, developer, data analyst, support, billing administrator, and cloud administrator. Management approved the role matrix on February 3, 2026. The auditor inspects each permission set in the cloud account to confirm it grants what the matrix says, then agrees 15 users' group memberships to their HR titles. One engineer who moved to product management in May still belonged to the developer group in June, and the second-quarter review completed on June 28 shows the reviewer removed it. The auditor records the removal as evidence that the review operates, and tests whether the company's transfer procedure should have removed the access in May.
Related terms
- Least privilege: the principle role design puts into practice.
- User access review: the periodic check on role membership and role definitions.
- Segregation of duties (SoD): the conflicts a role matrix should prevent.
- Logical access controls: the wider set of access controls RBAC belongs to.
- SOC 2 controls list: the access controls auditors test under CC6.