liveBook · Manning

Authorization model

As explained in Authorization in Action

An authorization model is a conceptual scheme for representing authority and determining how permissions are assigned or evaluated.

An authorization model is a way to represent authority: who may do what to which resource, and on what basis. It replaces scattered, custom access checks with a consistent way to define, review, and evaluate permissions. The model must fit both the decision itself and the surrounding architecture: enforcement, policy evaluation, policy management, and the contextual data that decisions require. section 4.6 section 5.0

The starting choice is often static or dynamic. Static models base a decision on assignments that change relatively infrequently, such as an entry on a resource or a role. Dynamic models evaluate conditions that can vary for every request, including time, device state, resource relationships, and regulatory, contractual, or tenant-specific obligations. Dynamic flexibility improves expressiveness and scalability, but adds complexity. section 5.0 section 5.3

Common ways of modeling authority include:

  • Access Control Lists (ACLs): attach a list of principals and allowed or denied actions directly to a resource. This resource-centric model suits clear ownership and relatively fixed permissions. section 5.1
  • Role-Based Access Control (RBAC): assign permissions through roles rather than direct per-resource entries. section 5.0
  • Attribute-Based Access Control (ABAC): evaluate attributes and contextual conditions that may change from request to request. section 5.3
  • Relationship-Based Access Control (ReBAC): evaluate relationships such as ownership, management, or collaboration. It supports delegation and shared multi-tenant systems, but needs disciplined graph management and audit visibility. section 5.3 section 6.1.3
  • Policy-Based Access Control (PBAC): express decisions as policy, allowing policy-driven systems to combine roles, attributes, and relationships where needed. section 5.3 section 8.5.6

A shared marketing folder

An ACL can protect a “Marketing Campaign Plans” folder by listing Alice, Bob, and the Marketing group, with specific allowed actions. A write request from Alice and a read request from Bob succeed when their entries permit them; Carol is denied when she has no applicable entry. The decision depends on the list attached to the folder, not on an organizational title or centralized policy. section 5.1

Figure 5.1 An ACL attached to a shared resource. The ACL specifies which principals—such as Alice, Bob, and the Marketing group—are authorized to access the “Marketing Campaign Plans” folder and outlines the actions they are allowed to perform.

Inspect the resource-attached ACL to see how principals and permitted actions form a static authorization decision. section 5.1

Models are not necessarily exclusive. ReBAC can complement ABAC when relationships establish baseline access while attributes handle conditions such as time or device state. In multi-tenant systems, a layered model can separate system, application, and tenant responsibilities, preserve tenant isolation, and permit bounded tenant customization under global controls. section 6.1.3 section 13.8

Choose a model or combination by asking where enforcement occurs, whether policies must be portable, who maintains them, how much complexity the organization can support, and whether roles, attributes, relationships, or several of these best express authority. A good fit makes permissions visible, adaptable, and auditable rather than embedding exceptions across services. section 8.5.6 section 19.5

How Authorization in Action covers it

How deep it goes
Contrasts static and dynamic approaches, defines ACLs, and connects model selection to layered deployment and governance.
Examples
Illustrates ACL evaluation with a shared marketing folder and tests layered authorization through tenant and support boundaries.
What it assumes
Introduces models from basic hard-coded checks and assumes no deep security or programming background.
What you can do after
Evaluate and select authorization-model combinations using decision context, architecture, portability, maintainers, and complexity tolerance.
How it connects
Connects ACLs, RBAC, ABAC, ReBAC, PBAC, policy enforcement points, policy decision points, identity, and tenancy.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Authorization in Action. The section links point to the parts of the book it draws on.