Identity, Authorization, and Least Privilege

Michael BrenndoerferDecember 2, 20262 min read
Language AI HandbookAll chapters
Part 61 of 67Agentic AI and Protocol Security
Chapter 468Identity, Authorization, and Least Privilege
Reading section 1 of 11 · Identity, Authorization, and Least Privilege · 2 minSection 1 of 11 · 2 min

Section 1 of 11 · 2 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

A summary worker needs permission to read the selected draft. A review worker may be able to mark the same draft ready. The workspace and document identifier are identical, but the authority needed to perform those actions differs. When the language model proposes an operation, the service must have enough information to decide which user initiated the work, which workload is acting, and whether that workload may perform this operation on this resource now.

Untrusted content and stored state can influence an agent's proposals. Authorization sits between those proposals and the rest of the system. It uses evidence from independent sources, such as the authenticated workload context and the resource catalog. The model can propose a target or summarize a request. The service makes the permission decision from facts it resolves under its own rules.

We will represent the decision as a function, then test it with a small Python fixture. The same draft stays in view while we change who acts, how long the grant is valid, which workspace owns the document, and whether a delegated grant still applies. A separate example shows how an already permitted action can require an additional decision from a person.

The notebook fixture

The notebook uses invented principals, closed operation enums, in-memory grants and counters. The evaluator returns a decision and changes no resource. In the example architecture, a service would apply the accepted decision at the point where it performs the action.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy