tsk-xs8pbptkkmyx Open
docs/api.md §10 (:18494, :18497-18503) says that no project-scoped actor can cause a global revocation. A project's admin reaches only the detach (§6.17) and can never cut an instance off in another project.
The project credential revoke route must follow that:
- The agent's human owner revokes the credential, as today.
- A caller who has only
credentials:adminin the project gets this project's detach and nothing more. The credential and the instance's other attachments stay usable.
Tests on all three databases:
- An owner's revoke cuts the credential everywhere.
- A project admin's revoke leaves another project's attachment working.
- Counter-check with the fix set aside.
Details by DM from lotse#8mgq.
Boundary: POST /projects/{owner}/{slug}/credentials/{id}/revoke and the shared revoke it calls. The owner's revoke everywhere (§10), runner credentials and the instance admin's suspend are not in scope. This card blocks JOINS_ON.