Pcornel
Browse topics
Options
Recent
Favorites
Identity · Technical reference

Role-Based Access Control

Direct answer

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.

First 30 seconds

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.

Operational verification

user → role → permissions

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

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.

Platform / version applicability
Identity, authentication and access control
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformIdentity, authentication and access control
Key commandGet-ADPrincipalGroupMembership anna | Select-Object Name
Scope / prerequisiteUse it when configuring, checking or troubleshooting Role-Based Access Control in Identity & Access Management.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • 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.
Key checks
  • 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)

LevelAdds
Core RBACUsers, roles, permissions, sessions; user–role and role–permission assignments
Hierarchical RBACRoles inherit from other roles (senior roles include junior roles' permissions)
Static separation of dutySome roles cannot be assigned to the same user (e.g. request payment and approve payment)
Dynamic separation of dutySome roles cannot be active in the same session

RBAC across platforms

PlatformRoleAssignmentScope
Active DirectorySecurity group with delegated rights / ACLsGroup membershipOU, object
AzureRole definition (Owner, Contributor, Reader, custom)Role assignment to user/group/identityManagement group, subscription, resource group, resource
Microsoft Entra IDDirectory role (Global Administrator, User Administrator…)Assignment, often eligible via PIMTenant or administrative unit
KubernetesRole / ClusterRoleRoleBinding / ClusterRoleBindingNamespace / cluster
DatabasesDatabase roleGRANT role TO userDatabase/schema/object
Linuxsudo rules for groupsGroup membershipHost/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:

PracticeReason
Roles based on job functionsMatch business reality
Least privilege per roleMinimal permissions
Avoid role explosionToo many roles become unmanageable
Separation of dutiesConflicting roles cannot be combined
Review role definitionsPermissions 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
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
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docIdentity, authentication and access control current

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%
Terminology layer

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.

Aliases that resolve here
RBACrole based permissionsaccess by role
Embedded reference data

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.

BoundaryEstablishDoes not establish
Identity and scopeStable subject/account/resource mapping, owner, lifecycle state and expected actionDoes not prove credential control or effective access
Policy and ceremonyEffective entitlement or authenticator/verifier policy plus all fallback pathsConfiguration presence does not prove enforcement or assurance
OutcomeAllowed, denied, failure, expiry/revoke and target read-back tests correlated with telemetryOne success does not prove every interface, session or downstream target
ClosureOriginal end-to-end action retested; residual access/risk, owner and review trigger recordedAdministrative workflow completion alone is not closure
Depth when you need it

Deep reference

Healthy vs suspicious evidence

Output interpretation

ObservationMeaning
Many direct user assignmentsRBAC bypassed; hard to review — move to group-based assignment
Users with Owner/Global Administrator permanentlyExcess standing privilege — use PIM/JIT
Roles with wildcard permissions (*)Not least privilege; split the role
Assignments to deleted or unknown principalsOrphaned assignments — clean up
One user holding conflicting rolesSeparation-of-duty violation
Confirmation

Confirm action

Continue?