Skip to content
Insights
Request Services
Explainer

RBAC vs ReBAC.

Role-based access control (RBAC) grants access through roles assigned to identities — simple to reason about and audit, but prone to role explosion as exceptions pile up. Relationship-based access control (ReBAC) grants access through relationships between entities — "this user is an editor of this document", "this folder is in this workspace" — evaluated over a graph, the model popularized by Google Zanzibar. RBAC suits coarse, role-shaped access; ReBAC handles fine-grained, hierarchical, multi-tenant, and delegated authorization, including the per-resource decisions AI agents increasingly require.

Key takeaways

  • RBAC grants access through roles; ReBAC grants it through relationships over a graph (the Zanzibar model).
  • RBAC is simpler to audit but hits role explosion; ReBAC handles fine-grained, hierarchical, multi-tenant access.
  • For AI agents, ReBAC expresses delegated, per-resource access cleanly.
  • They combine — RBAC for broad roles, ReBAC for resource-level sharing.
Side by side

RBAC vs ReBAC.

DimensionRBACReBAC
Access driven byRoles assigned to identitiesRelationships between entities (a graph)
GranularityCoarse — role → permission setFine — per resource, per relationship
Multi-tenancyTends toward role explosionNative — tenants/orgs modeled as relationships
HierarchiesAwkward (nested roles)First-class (inheritance through the graph)
AuditList a user’s rolesTraverse the relationship graph
For AI agentsGood for coarse guardrailsFits delegated, downscoped, resource-level access
Seen inMost apps; Okta/Entra rolesGoogle Zanzibar, OpenFGA, SpiceDB, policy services

Where RBAC breaks down

RBAC is excellent until reality adds exceptions. "Editors, but only for their own team’s documents", "admins, except in the EU tenant", "this contractor, just this project" — each becomes a new role. Roles multiply faster than people, audits get harder, and the model that was meant to simplify access becomes the thing nobody fully understands. This is role explosion, and it is the usual reason teams look past RBAC.

How ReBAC works (the Zanzibar model)

ReBAC stores relationships as tuples — (object, relation, subject), e.g. (doc:42, editor, user:alice) — and answers "can alice edit doc:42?" by checking for a path through that graph, including inherited relations (alice is a member of team:7, team:7 is editor of folder:9, doc:42 is in folder:9). Google’s Zanzibar paper formalized this at scale; OpenFGA, SpiceDB, and modern policy services implement it. The result is fine-grained, per-resource authorization without inventing a role for every exception.

RBAC, ABAC, ReBAC — which to use

They are not mutually exclusive. RBAC gives coarse guardrails; ABAC decides on attributes at request time (see "RBAC vs ABAC"); ReBAC decides on relationships over a graph. Many systems combine them — RBAC for broad roles, ReBAC for resource-level sharing and multi-tenancy. For AI agents, ReBAC is increasingly the model that expresses delegated, downscoped access ("this agent may act on resources this user can access, and only those").

How to choose

When to use each.

  • Use RBAC when…

    • Access is genuinely role-shaped and exceptions are rare.
    • You need simple, auditable assignments fast.
    • You want coarse guardrails for agents or services.
  • Use ReBAC when…

    • You have per-resource sharing, hierarchies, or multi-tenancy.
    • Role explosion is already happening.
    • You need delegated, resource-level authorization for AI agents.
FAQ

Common questions.

  • Is ReBAC better than RBAC?+

    Neither is universally better — they fit different shapes of access. RBAC is simpler and easier to audit for role-shaped access; ReBAC handles fine-grained, hierarchical, and multi-tenant authorization that would cause role explosion under RBAC. Many production systems use both.

  • What is the Zanzibar model?+

    Zanzibar is Google’s globally-distributed authorization system, described in a 2019 paper, that stores access as relationship tuples and answers permission checks by traversing that graph. It is the reference design behind ReBAC implementations like OpenFGA and SpiceDB.

  • Can you combine RBAC and ReBAC?+

    Yes, and it is common. Use RBAC for broad, organization-wide roles and ReBAC for resource-level sharing, hierarchies, and multi-tenancy. A single policy layer can evaluate both; the goal is to express each access rule in the model that fits it, rather than forcing everything into roles.

Related
  • RBAC vs ABAC
  • AI Agent Identity (complete guide)
  • Zero standing privileges
  • Authentication vs authorization
Go deeper

The whole picture, in one place.

This explainer is part of our complete guide to IAM — authentication, authorization, governance, privileged access, the standards, and how to run a program.

Complete guide to IAMAll explainers

Identity, cybersecurity, and custom software for regulated enterprises. Audit-ready operations from advisory through audit.

Americas HQ

Wilmington, DE

America/New York

India HQ

Hyderabad, TG

Asia/Kolkata

Services
  • IAM Consulting
  • IAM Technologies
  • Custom Software & AI
  • IAM Staffing
  • Request Services
  • Case Studies
Resources
  • All Resources
  • Complete Guide to IAM
  • IAM Frameworks Compared
  • IAM Certification Roadmap
  • IAM API Hub
  • IAM Explainers
  • IAM Vendor Status
  • Release Notes
  • State of Identity
  • State of PAM
  • State of IGA
  • State of CIAM
  • State of AI Agent Identity
  • IAM Salary Benchmark
  • Vendor Pricing Index
  • Year in Review 2026
  • Acquisition Tracker
  • Outage Tracker
  • Identity Incidents
  • Vulnerability Tracker
  • Cheat Sheets
  • Standards Explainers
  • Migration Playbooks
  • Audit Checklists
  • Reference Architectures
  • RFP Templates
  • IAM Anti-Patterns
  • Compliance Crosswalk
  • Market Landscape
  • Awesome IAM
  • IAM Glossary
  • Compliance Frameworks
  • Integration Guides
  • Vendor Alternatives
  • IAM by Industry
  • Salary Lookup
  • Directory
Research & media
  • IAM Compensation 2026
  • Vendor Moves Q3 2026
  • Identity Incidents Q3 2026
  • Vendor Security Posture 2026
  • Vendor Pricing 2026
  • AI Citation Tracker
  • Top 50 IAM Tools 2026
  • Podcast
  • Videos
  • Newsletter
  • Newsletter Archive
  • Embed Widgets
Free tools
  • JWT Decoder
  • JWT Signer
  • SAML Decoder
  • SAML Metadata Diff
  • OAuth Flow Visualizer
  • OIDC Debugger
  • OIDC Discovery Validator
  • PKCE Generator
  • WebAuthn Tester
  • Bearer Token Inspector
  • SCIM Validator
  • Password Entropy
  • IAM RFP Template
  • PAM Vendor Selector
  • Maturity Assessment
  • ROI Calculator
  • TCO Calculator
  • MFA Bypass Risk
  • Audit-Prep Burden
  • Quizzes
Company
  • About
  • Leadership
  • Approach
  • Why Choose Us
  • Partners
  • Press Kit
  • Press Topics
  • Global Presence
  • Locations
  • Insights
  • Now
  • Community
  • Open Roles
  • Submit Resume
  • Training
  • Contact

© 2026 askmeidentity, Inc.. Safeguard your digital frontier.

  • Privacy Policy
  • Terms of Service
  • Accessibility