What does RBAC stand for?
RBAC stands for role-based access control. It is a permission model where every right in the system belongs to a named role, and every user inherits the rights of the roles assigned to them. The model dates back to the mid-1990s NIST definition and has become the default access-control approach for enterprise software because it scales cleanly from a handful of users to tens of thousands without becoming unauditable.
What are the most common roles in B2B SaaS?
The common five are owner, admin, manager, rep, and read-only. Owner holds billing, deletion, and transfer rights and should be scarce. Admin configures the workspace and manages users. Manager edits anything inside their team's scope. Rep edits what they own. Read-only sees without changing. Most B2B products ship these five on day one and add custom roles only when a specific enterprise customer requires one that cannot be expressed as a scope on top of an existing role.
What is the difference between RBAC and ABAC?
RBAC decides access by role. ABAC decides access by attributes of the user, the resource, and the environment. RBAC is simple and auditable but blind to edge cases like region, deal size, or record sensitivity. ABAC is fine-grained but hard to audit and slower to evolve. The mature B2B answer is RBAC as the primary model with narrow ABAC-style attribute checks on the specific resources that need them, rather than choosing one and ignoring the other.
When should I use RBAC instead of ABAC?
Use RBAC when the question, who can do this, is answered by the user's role in the organization. Use ABAC-style attribute checks only when the question depends on who owns the resource, where it lives, or what it is worth. In practice, almost every B2B product should start with RBAC and add attribute checks the first time a customer asks for a rule that cannot be expressed as a role. Going full ABAC from day one is almost always premature.
Does RBAC help with SOC 2 compliance?
Yes. SOC 2 asks who had access to what, when, and why, and RBAC answers that in a single join from user to role to permission. Auditors can review the role catalog once instead of chasing per-user grants, and the access-management control is one of the easier SOC 2 criteria to pass under a clean RBAC design. Access reviews run by role rather than by user, which turns a multi-day exercise into a few hours.
What is role explosion and how do I avoid it?
Role explosion is what happens when a product ships five roles and ends up with forty two years later. Each new role was added to solve one customer's edge case, often an attribute problem dressed up as a role. The fix is a written rule: no new role without justification, no role that encodes an attribute, and every custom role must inherit from a base role rather than be built from zero. Enforce it in the admin UI, not just in policy.
Can one user have multiple roles?
Yes, and most RBAC designs support it, but the right answer in practice is to keep role assignments narrow. A user with three roles is harder to reason about than a user with one. If a user genuinely needs the sum of two roles, that is usually a sign the two roles should be combined into a named third role. Multiple role assignments are also where permission creep begins, which is why quarterly access reviews are worth building in from day one.
How does RBAC handle multi-tenant B2B products?
In a multi-tenant product, role assignments are scoped to a tenant rather than global. A user who is an admin at one tenant is not automatically an admin at another. The user object is shared across tenants, but the role is per-tenant. This is also how a user can be an owner of their own organization and a read-only guest in a partner organization without any permission bleed between the two, which matters for both compliance and basic trust.