TL;DR: SaaS authorization works best when teams define resources, actions, roles, and policy context before code hardens around them, according to Cerbos. The deeper lesson is that access models decay when role sprawl, broad permissions, and weak review cycles outrun the business structure they were meant to mirror.
NHIMG editorial — based on content published by Cerbos: authorization models for a typical workspace SaaS application
Questions worth separating out
Q: How should teams design SaaS authorization so it stays maintainable?
A: Start with the product’s resources and actions, then define permissions, roles, and policy exceptions from that inventory.
Q: When should organisations use ABAC instead of RBAC?
A: Use ABAC when access depends on context that roles cannot express cleanly, such as the sensitivity of a resource, user attributes, or request conditions.
Q: What breaks when authorization policies are embedded directly in application logic?
A: Policies become harder to test, harder to audit, and easier to drift away from the intended access model.
Practitioner guidance
- Map resources and verbs before writing roles List the protected nouns and actions in the product, then derive permissions from that inventory before assigning any roles.
- Use RBAC as the baseline and ABAC for sensitive exceptions Keep broad workspace access in roles, but move high-risk decisions into attribute-based policy when context such as resource sensitivity changes the answer.
- Separate policy from application code Use a policy framework that can be tested independently so developers can validate authorization logic without deploying the full application.
What's in the full article
Cerbos's full guide covers the operational detail this post intentionally leaves for the source:
- Step-by-step examples of mapping workspace resources into permissions and roles
- Implementation guidance for ACL, RBAC, and ABAC patterns in a SaaS codebase
- Testing workflow examples for policy evaluation and decision outcome validation
- Ongoing maintenance guidance for pruning roles and reviewing authorization logs
👉 Read Cerbos's guide to implementing SaaS authorization models →
SaaS authorization models: are your roles keeping pace?
Explore further