docs(hero_proxy_admin_api): add skill; document proxy.* reserved namespace #211
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_skills!211
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_lee_proxy_admin_api"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
New sibling skill
hero_proxy_admin_apifor backend authors buildingadmin panels (hero_collab, hero_whiteboard, future apps) that need to
manage users/groups/roles/claims through the proxy:
authz), bearer token for operators (bypasses authz), UDS for trusted
local processes.
proxy.*capability namespace and the per-method claim map.full proxy.* set by composition (no special-casing).
rename, or delete at runtime).
cookie overlay, X-Hero-Impersonator header, real-admin authz on
management calls so the admin can always stop impersonating.
hero_claim_formatupdated to addproxy.*to the reserved-prefixtable, the validator reference, and the valid/invalid examples.
Also updates
related: [...]to cross-link the new skill.New sibling skill `hero_proxy_admin_api` for backend authors building admin panels (hero_collab, hero_whiteboard, future apps) that need to manage users/groups/roles/claims through the proxy: - Caller model: cookie-authenticated session for admin panels (per-method authz), bearer token for operators (bypasses authz), UDS for trusted local processes. - The `proxy.*` capability namespace and the per-method claim map. - The seeded admin role + group; how is_admin=true users inherit the full proxy.* set by composition (no special-casing). - Reserved-name guards on the seeded admin group/role (no recreate, rename, or delete at runtime). - Audit identity (real admin's username vs. operator "system"). - Impersonation contract: auth.impersonate / auth.stop_impersonating, cookie overlay, X-Hero-Impersonator header, real-admin authz on management calls so the admin can always stop impersonating. - Browser-side fetch example, do/don't list for backend authors. `hero_claim_format` updated to add `proxy.*` to the reserved-prefix table, the validator reference, and the valid/invalid examples. Also updates `related: [...]` to cross-link the new skill.