Every system that guards anything has to decide who gets in, and why. There are three ways to write that rule down: by job, by facts, or by relationship. RBAC, ABAC and ReBAC. They sound like an argument between acronyms, but they're really a question about where access decisions live, and who keeps them true.
Roles are the key ring: simple, easy to audit, and they explode when every case is "it depends". Attributes are luggage tags on your badge: one rule can cover thousands of people, as long as the facts are true and protected. Relationships are threads between people and things, the way you share a Google doc. Then both side by side in a test lab, and back to the access review everyone clicks "Approve all" on: why it gets rubber-stamped, and how to make it answerable.
I've been working in identity for over 30 years. This is identity and access management in plain English, with a real demo and no vendor pitch. AWS, Azure, Google and OpenFGA are named only as examples of the ideas, each described from its own documentation or paper. The Friday review in the opening and Alex's move in the demo are made up to illustrate the point. The demo uses an isolated test lab with throwaway test users.
CHAPTERS
0:00 Friday afternoon: 214 rows and "Approve all"
0:58 Who I am
1:25 The question behind every door
2:21 RBAC: access by job
4:04 ABAC: access by facts
5:54 ReBAC: access by relationship
7:29 Which one, when
9:22 Demo: RBAC and ABAC in Keycloak
11:12 Who approved this?
13:19 Three mistakes
14:33 Summary, and what's next
THE SHORT VERSION
RBAC asks "what's your job?" Set out by David Ferraiolo and Rick Kuhn at NIST in 1992, and an American national standard since 2004. Easy to audit. Make a new role for every "it depends", and you get what NIST calls role explosion.
ABAC asks "what are the facts?": about the person, the thing they want and the moment, with a policy written in terms of them (NIST's guide, SP 800-162, 2014). A new joiner needs no new rule. But a rule is only as good as its facts, and people mustn't be able to edit the ones it depends on.
ReBAC asks "how are you connected to this thing?" Google's 2019 Zanzibar paper describes more than two trillion of these relationships, checked millions of times a second, for services including Drive, Calendar and YouTube.
A quick test: if you can name a job, it's a role. If you hear "but only if", it's an attribute. If you hear "this one, shared with her", it's a relationship.
Real systems mix all three. AWS ABAC uses tags; Azure ABAC clips conditions onto ordinary role assignments.
The demo: one Keycloak permission, first with a role policy only (someone who moved department keeps access), then with two attribute policies added (department and office hours), all checked with Keycloak's evaluation tool.
Access reviews: PCI DSS requires every user account and its access to be reviewed at least every six months. Microsoft's 2023 report found super admin identities used less than 2% of the permissions they'd been given. Least privilege goes back to Saltzer and Schroeder, 1975.
THREE MISTAKES TO AVOID
A new role for every exception. When two roles differ only by a country, a shift or a department, that's an attribute rule.
Trusting facts nobody owns. Know which system owns each attribute, keep it current, and make sure people can't edit the ones your rules depend on.
Reviews with no evidence. Show what each access does and when it was last used, and make removing unused access the easy click.
EARLIER VIDEOS
Zero Trust Is a Lie (the Way It's Sold), Explained in Plain English
Zero Trust Is a Lie (the Way It's Sold), E...
Roles, Groups and Permissions, Explained in Plain English
Roles, Groups and Permissions, Explained i...
Joiners, Movers, Leavers and SCIM, Explained in Plain English
Joiners, Movers, Leavers and SCIM, Explain...
Privileged Access, Explained in Plain English
Privileged Access, Explained in Plain English
NEXT TIME: AI agents and identity. When an AI assistant acts for you, whose identity is it using? And in the SC-300 series: Conditional Access, a real policy engine making decisions from attributes like who you are, where you are, which device you're on and how risky the sign-in looks. It's today's ABAC, running in Entra.
How many roles does your company have, and how many people could tell you what they're all for? Tell me in the comments. I'd like to know what's out there.
Music: "Chipper Doodle v2" by Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 4.0
https://creativecommons.org/licenses/...