Hierarchical and Delegated Models
What you'll learn: How to structure roles in layers and safely distribute administrative authority in access control systems.
The Core Idea
Hierarchical and delegated models extend role-based access control by organizing roles into parent-child relationships and allowing limited transfer of administrative rights. Think of a company org chart: a department manager has all the permissions of their team leads, who in turn have all permissions of individual contributors. Similarly, a manager might delegate hiring authority to a senior lead without surrendering their own oversight capabilities.
Role Hierarchies
In hierarchical models, roles inherit permissions from lower-level roles. A Senior Editor role might inherit all permissions from Editor, which inherits from Contributor. This creates a pyramid of increasing privilege:
- Contributor → can create drafts
- Editor → inherits Contributor permissions + can publish
- Senior Editor → inherits Editor permissions + can delete published content
This reduces duplication—you don't redefine every permission at each level. Higher roles automatically gain everything below them.
Permission Inheritance
Inheritance flows upward in authority. If you add a new permission to the Editor role, Senior Editors automatically receive it. This simplifies management but requires careful design: adding a dangerous permission to a low-level role propagates it upward unexpectedly.
Delegated Administration
Delegation allows users with administrative rights to grant limited subsets of their permissions to others. A regional administrator might delegate "user creation" authority to local managers without giving them access to system-wide configuration. Delegation is controlled and auditable—it doesn't transfer ownership, just temporary capability within defined boundaries.
Key Takeaway: Hierarchical models organize roles into inheritance trees to reduce redundancy, while delegation safely distributes administrative tasks without full privilege transfer—both require careful boundaries to prevent unintended privilege escalation.