Repository navigation
Description
Part of #10
Story
As a application operator, I want to request workload access through approved changes.
Business value
The plan (#6) sets this release exit for phase 4: "approved namespace SA edit grant and allowed anyuid SCC audited end to end; token-issuance boundary reviewed."
Context
The service account, grant and SCC grant endpoints are not built (build-tracker.md, "Not built, by area").
Acceptance criteria
- SA create/delete, Role/ClusterRole grants and SCC grants use normal approval and GitOps, shown by a new test in
cmapi/tests/service/, not written yet - Denied roles/SCCs and cross-namespace subjects are refused, shown by a new test in
cmapi/tests/service/, not written yet - User/group grant writes are unavailable, shown by a new test in
cmapi/tests/service/, not written yet - Approved namespace edit plus configured anyuid SCC is auditable end to end, shown by a new test in
cmapi/tests/service/, not written yet
Tasks
- Build the service account and grant endpoints (Wave 8).
Out of scope
- The source states none for this story.
Evidence
- None yet.
Definition of done
- Mockup approved, or the work has no screen and no API shape
- Draft pull request open
- Build: tests fail before the change and pass after it
- Documented where a reader looks for it
- Review ruled
- Merged with its proof
- Released on the default branch
- The owner approves, after a comment cites the proof for each criterion and its cluster
Class
INV. The story adds a new capability to the product.
Source
Status: Draft backlog. No sprint commitment.
Owner in Paperclip: Ahsoka. Ahsoka mentors Luke and assigns bounded engineering work after technical review.
Source: OBI-35.
Epic: #10. Plan, release windows, and review gates: #6.
Dependencies: #9 (OBI-31), OBI-19, OBI-20.
Planned story; phase 4, provisional 8 points (Ahsoka/Yoda to validate).
- Attach automated or reproducible evidence for each criterion; cover denial/failure paths.
- Read the plan; Yoda owns design choices. Keep this in backlog until prerequisite phase evidence is accepted. Ahsoka may split and delegate to Luke with mentorship.
Language acceptance criterion
Before sprint entry, the owner must define technical terms and attach language review evidence for this text revision.
Use simple-english 2.1.1, Strict mode. Index #6 records the vocabulary source and review limits.
The source criteria remain unchanged. Language review remains open.
Activity
ephico2real2 commentedon Dec 1, 2026
Carried over from #257 (coordinator triage, 2026-12-01). When the
sa-grantsplugin is built, it must always set the approval factclusterRoleson every grant request.core/approvals.py:271matches withset(f.get("clusterRoles", [])) <= set(m["clusterRoles"]), and a missing fact is the empty set, which matches every policy. Without the fact, a policy such asbaseline-sa-grantswould auto-approve any role. Add a test: a grant request with noclusterRolesfact must not match a policy that limits roles.