liveBook · Manning

Role assignment

As explained in Authorization in Action

A role assignment is a configuration that associates a principal with an authorization role.

A role assignment associates a principal with an authorization role. In role-based access control (RBAC), the assignment lets the system evaluate permissions through the role instead of maintaining direct user-to-resource mappings. section 5.2.1

At request time, the system identifies the principal, determines assigned roles, retrieves their permissions, resolves inherited roles, and allows or denies the action. Separation-of-duty constraints can prevent conflicting role assignments, such as payment initiation and approval. section 5.2.1

Role assignments support predictable authorization, but static assignments have limits:

  • They centralize authorization around organizational roles rather than scattering individual access rules across services. section 5.2.1
  • They do not by themselves express dynamic conditions such as work shifts, device posture, or patient consent. section 1.2.4 section 5.2.1
  • They can become inefficient when people span departments, hold transient roles, or require many exceptions. section 1.2.4

Engineering permissions

Bob’s engineer role allows him to approve a code check-in but not deploy to production. Alice’s senior-engineer role inherits engineer and also grants production deployment, so both inherited and direct permissions affect the decision.

How Authorization in Action covers it

How deep it goes
Explains runtime evaluation, inherited roles, and separation-of-duty constraints, but stops short of dynamic authorization conditions.
Examples
Uses healthcare access scenarios and engineering decisions involving code approval and production deployment.
What it assumes
Assumes principals and permissions, while defining how RBAC derives authorization from assigned roles.
What you can do after
Evaluate authorization requests by tracing assigned roles, inherited permissions, and separation-of-duty constraints.
How it connects
Connects principals, permissions, RBAC, role hierarchies, separation of duty, ACLs, groups, and patient consent.

Also explained in

Compare how 3 books explain role assignment →

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.