Use it when configuring, checking or troubleshooting Role-Based Access Control in Identity & Access Management.
Role-Based Access Control
RBAC models user-role assignment, role-permission assignment, role activation in sessions, optional hierarchies and separation-of-duty constraints; governance keeps roles understandable, owned and aligned to tasks.
1. RBAC grants permissions to roles; users get roles.
2. Simple to audit.
3. Avoid role explosion.
4. Separation of duties.
5. Review role definitions.
user → role → permissions
Context & applicabilityCommon mistakes · platform/version boundaries
A role membership shows administrative assignment, but it does not show the permission set is least privilege, the target applied it, conflicting roles are blocked or the subject still needs it.
Suspicious evidence: Role explosion, nested opaque groups, copied roles, no owner, direct user grants, conflicting duties, broad base roles or roles whose tested permissions differ from documentation.
Operational reference
Fast context before you go deeper.
Get-ADPrincipalGroupMembership anna | Select-Object NameVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
business task → permission set → governed role → subject-role assignment → session role activation → enforcement → use/review
Healthy evidence: Roles have owners and task definitions, permissions are testable, effective rights match role design, separation rules work, direct grants are exceptional and unused access is removed.
Step 2 Verification path Verify boundary
# Active Directory: effective group memberships (PowerShell)
Get-ADPrincipalGroupMembership anna | Select-Object Name
# Azure: what a principal can do and where
az role assignment list --assignee anna@example.com --all --query "[].{role:roleDefinitionName, scope:scope}" -o table
# Kubernetes: can this user do X? and who is bound to a role?
kubectl auth can-i delete pods --namespace prod --as anna@example.com
kubectl get rolebindings,clusterrolebindings -A -o wide | grep -i anna
# Linux: sudo rights of a user
sudo -l -U anna
Verify both directions: the user can do what the role is for, and cannot do what it is not for.
Step 3 Failure boundaries Narrow the fault
- Design: roles too broad (excess access) or too narrow (role explosion, exceptions).
- Assignment: stale memberships after job changes; direct grants outside the model.
- Enforcement: the target system caches or ignores roles (token issued before the change, group membership in Kerberos tickets until next logon).
- Review: reviews rubber-stamped; no owner for a role.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Role ≠ job title or group automatically.
- Role assigned ≠ role activated or effective on every target.
- RBAC ≠ no contextual conditions or exceptions.
- Role count growth ≠ finer least privilege when roles overlap and lack owners.
Get-ADGroup -Filter 'Name -like "role-*"'— role groups- Role catalogue — roles and permissions
Get-ADGroupMember <role>— members
ReferenceWhat it is1 section · depth on demand
Direct Answer
Role-based access control grants permissions to roles that match job functions, and users get permissions only through role assignments. It makes access reviewable ("who has role X?") and changes cheap (change the role, not every user). Good RBAC needs least-privilege roles, assignment to groups rather than individuals, separation of duties for sensitive combinations, and regular access reviews. Almost every platform implements it: AD groups, Azure RBAC, Entra roles, Kubernetes RBAC, database roles, Linux sudo rules.
ReferenceWhy it matters1 section · depth on demand
Mechanics
RBAC model (NIST, standardised as ANSI/INCITS 359)
| Level | Adds |
|---|---|
| Core RBAC | Users, roles, permissions, sessions; user–role and role–permission assignments |
| Hierarchical RBAC | Roles inherit from other roles (senior roles include junior roles' permissions) |
| Static separation of duty | Some roles cannot be assigned to the same user (e.g. request payment and approve payment) |
| Dynamic separation of duty | Some roles cannot be active in the same session |
RBAC across platforms
| Platform | Role | Assignment | Scope |
|---|---|---|---|
| Active Directory | Security group with delegated rights / ACLs | Group membership | OU, object |
| Azure | Role definition (Owner, Contributor, Reader, custom) | Role assignment to user/group/identity | Management group, subscription, resource group, resource |
| Microsoft Entra ID | Directory role (Global Administrator, User Administrator…) | Assignment, often eligible via PIM | Tenant or administrative unit |
| Kubernetes | Role / ClusterRole | RoleBinding / ClusterRoleBinding | Namespace / cluster |
| Databases | Database role | GRANT role TO user | Database/schema/object |
| Linux | sudo rules for groups | Group membership | Host/command |
RBAC and ABAC
RBAC struggles when access depends on many attributes (department × region × data classification), which leads to role explosion. Attribute-based access control (ABAC) evaluates attributes at request time; many systems combine both (Azure role assignment conditions, Kubernetes RBAC plus admission policies).
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
A role membership shows administrative assignment, but it does not show the permission set is least privilege, the target applied it, conflicting roles are blocked or the subject still needs it.
In depth
Role-Based Access Control (RBAC) grants permissions to roles, and users get permissions by being assigned roles. It simplifies administration — change the role, and everyone in it changes — and makes access reviewable.
Designing roles:
| Practice | Reason |
|---|---|
| Roles based on job functions | Match business reality |
| Least privilege per role | Minimal permissions |
| Avoid role explosion | Too many roles become unmanageable |
| Separation of duties | Conflicting roles cannot be combined |
| Review role definitions | Permissions drift over time |
Examples: network operator (read and limited changes), network admin (full device access), auditor (read-only everything). Implement on devices with TACACS+ privilege levels or command sets.
ReferenceConfiguration & state1 section · depth on demand
Lifecycle and ownership
- Role design: derive roles from tasks; keep a role catalogue with owner, purpose and permissions.
- Assignment: assign to groups; drive group membership from HR/joiner-mover-leaver processes (Identity Lifecycle).
- Privileged roles: time-bound or eligible assignments (Privileged Identity Management (PIM), Just-in-Time Access).
- Review: periodic Access Review by role and resource owners; remove unused roles and direct user assignments.
- Change control: changes to role definitions are reviewed — adding one permission to a widely assigned role grants it to everyone.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Identity & Access Management → Role-Based Access Control. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://pages.nist.gov/800-63-4/ · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Identity & Access Management → Role-Based Access Control proof map
Fast identity, policy/ceremony, outcome and closure evidence boundaries for Identity & Access Management → Role-Based Access Control.
| Boundary | Establish | Does not establish |
|---|---|---|
| Identity and scope | Stable subject/account/resource mapping, owner, lifecycle state and expected action | Does not prove credential control or effective access |
| Policy and ceremony | Effective entitlement or authenticator/verifier policy plus all fallback paths | Configuration presence does not prove enforcement or assurance |
| Outcome | Allowed, denied, failure, expiry/revoke and target read-back tests correlated with telemetry | One success does not prove every interface, session or downstream target |
| Closure | Original end-to-end action retested; residual access/risk, owner and review trigger recorded | Administrative workflow completion alone is not closure |
Deep reference
Healthy vs suspicious evidence
Output interpretation
| Observation | Meaning |
|---|---|
| Many direct user assignments | RBAC bypassed; hard to review — move to group-based assignment |
| Users with Owner/Global Administrator permanently | Excess standing privilege — use PIM/JIT |
Roles with wildcard permissions (*) | Not least privilege; split the role |
| Assignments to deleted or unknown principals | Orphaned assignments — clean up |
| One user holding conflicting roles | Separation-of-duty violation |