liveBook · Manning

Brittle policy

As explained in Authorization in Action

A brittle policy is an authorization policy whose correctness depends on volatile details and therefore can fail when those details change.

A brittle policy embeds volatile facts—such as department names, job titles, project codes, or employee identifiers—rather than expressing durable authorization logic. When those facts change, legitimate access can fail. section 10.1.3 section 10.1.5

Department rename breaks deployment access

A deployment rule allowing only Engineering or SRE fails when HR renames Engineering to Product Development. Referencing durable roles from identity and HR systems preserves the intended access. section 10.1.3

Promotion breaks legal-document access

A rule granting legal-draft access to Associate Counsel removes Dan’s access after promotion to Senior Counsel. Basing access on legal-team membership keeps the decision aligned with his responsibilities. section 10.1.5

Prefer stable policy inputs over volatile attributes:

permit(
    principal,
    action == Action::"deploy",
    resource is DeploymentTool
)
when { ["Engineering", "SRE"].contains(principal.department) };

Compare a department-based deployment rule with a role-based rule to see how changing organizational names affects authorization. section 10.1.3

How Authorization in Action covers it

How deep it goes
Contrasts failing and improved policy snippets, then connects durable references to data governance and maintenance.
Examples
Uses department renaming, project codes, manager identifiers, and employee promotion to contrast brittle and durable policy inputs.
What it assumes
Assumes basic authorization concepts and introduces the need to govern the roles and attributes that policies reference.
What you can do after
Evaluate authorization rules by identifying volatile inputs and replacing them with durable roles, teams, or resource entities.
How it connects
Connects authorization policy with identity systems, HR data, roles, team membership, resource entities, and governance.

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.