Repository navigation
docs: record that a call made for a user names who acts and how the management API takes bearers - #3370
Conversation
…anagement API takes bearers
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
…what ADR 034 leaves open
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
# Conflicts: # docs/adrs/README.md
Main's docs now make llms-full.txt 650,605 characters on a preview host, over the 650,000 cap, so every PR's docs deployment check fails. Operations leaking back in would still multiply the size about twentyfold.
Context
Summary
Records three decisions of 2026-11-25 in the documents that own them. Docs only; no code, contract or generated file changes.
act, and Zitadel issues no token that hides its actor. A delegation (a user's consent to a client, a token exchange, or an operator's act-as that the user did not grant) has onedelegation_idthat the consent record, the tokens and every event share. Consent is its own record per user, client and API; it is not anauthz_assignmentsrow. There is no impersonation.agentbecomesclient; the event actor enums dropagentand keepservice; a personal access token's actor is its owner. Every principal client has an owner. An application may carry anagentlabel. An agent that must be a user gets a linked user (answers open question 6). "Impersonate" is removed as a mode, a right and a role; open question 2 is narrowed to the act-as switch and person-only actions.Validation
node scripts/check-adrs-index.mjs→adr index: ok (89 records)node scripts/check-pr-title.mjs --title "docs: record that a call made for a user names who acts and how the management API takes bearers"→ okRelease notes / changeset
Notes
agent; the documents say so where they describe the wire. The rename is separate work.delegation_idas a claim, so that an API outside Zitadel can record it.actbesideclient_id, oractappears only when a different principal presents the user.delegation_typevalues for consent and act-as; whatgrantorholds for an operator's act-as and who may authorize one; how personal access tokens are stored and which actor kind a team-owned one has; what a v4 machine user's tokens become on import; howzitadel logingets its token (an OAuth public client or the claim handoff).agentor treat impersonation as a non-goal (permission-storage.md, ADRs 053, 054 and 075); they are left alone.