/goal /ultracode-workflows [RBAC-4] retire the god-PAT — per-user delegated agent identity + per-app scoped read-only kube token #31
Labels
No labels
bug
discussion
duplicate
enhancement
goal
help wanted
horizon:backlog
horizon:governance
horizon:mvp
invalid
operator-decision
question
roadmap
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
#37 /goal /ultracode-workflows [DOM-2] swap CNI to Cilium + replace blanket app egress with domain/identity-defined CiliumNetworkPolicy (closes #13)
open-platform/mitosis
#43 /goal /ultracode-workflows [POL-5] policy-govern the RBAC/identity invariants
open-platform/mitosis
Reference
open-platform/mitosis#31
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Track/Wave:
RBAC-4· Wave G4 · Size LRepos:
mcp,agents,gitopsDepends on: RBAC-1, RBAC-2
Why
PLAT_TOKEN (write:admin+read:admin) is shared by MCP, dispatcher, registry; a prompt-injected run can act with full admin across every tenant. The validated per-app namespaced read-only Role is the target shape.
Scope
gitops: per-app
agent-ctxSA + namespaced read-only Role (pods/logs/events/services/deployments get/list/watch, no secrets) rendered per overlay. mcp: a TokenRequest-based short-lived namespace-scoped token replacing the embedded admin token. agents: authenticate the run AS the triggering user. DECISION NEEDED (resolve in-issue): Forgejo admin sudo/impersonation vs a platform-managed per-user PAT. Land behind a flag, one repo first.Acceptance
A run by user A (write on X, no access to Y) can only touch X: agent calls against Y are rejected by RBAC-1, and the minted token lists pods/logs in X's namespace but 403s on Y, cluster-wide resources, or any secret — validated with two apps owned by different users in one org.
Notes
Seam B (overlay renderer) — after RBAC-2.
Part of the First Client Deploy → Governance roadmap. The owning agent may recurse into its own subagent team (ultracode workflow) if the task warrants. Honor the seam-serialization: land on a shared seam by rebase, and don't start a seam position until the prior one has merged.