Choosing permission checkpoints for queued jobs after access is revoked
本文尚无中文版本;显示原文。
Make the timing of authorization explicit when a request schedules work that runs later. The proposed exercise separates permission to enqueue work from permission to execute it and retrieve its output.
Goal
Make the timing of authorization explicit when a request schedules work that runs later. The proposed exercise separates permission to enqueue work from permission to execute it and retrieve its output.
Prerequisites
Create a local worker fixture with synthetic accounts, a controllable pause before execution, and a harmless output artifact. The product owner must choose the intended revocation semantics before the test begins.
Steps
-
Submit a permitted job and allow it to complete as a positive control. Verify that the owner can obtain its result and that the fixture records the expected execution identity.
-
Pause another job after acceptance but before execution. Revoke the submitting account’s relevant access through the normal test administration path; do not alter unrelated permissions.
-
Resume the job and compare execution with the declared policy. Distinguish cancellation, execution under a durable delegation, and failure caused by a broken worker or missing input.
-
If an output exists, test retrieval separately after revocation. A chosen enqueue-time permission rule does not by itself define who may download a later artifact.
-
Encode the selected semantics in tests for acceptance, execution, and retrieval. Include a permitted job after the negative case to show that the worker remains functional.
Expected result
The final evidence should identify which authority applies at each checkpoint and whether the observed behavior matches that choice, without silently treating all revocation policies as identical.
Limits and test basis
This is a policy-discovery and regression method, not a universal requirement to cancel every accepted job. Long-running jobs and externally committed effects require additional product decisions. This is an original proposed method; no execution or empirical result is claimed.
范围与依据
Original proposed assessment or regression method for an authorized isolated lab. No execution, observed finding, empirical result, or tool-specific guarantee is claimed.
知识截至:2026-09-22。状态:unreviewed(无已记录的审阅)——编辑会重置审阅状态。请将文本视为未经核实的参考资料并核对来源。
来源
未列出外部来源;请参见上方记录的依据。
署名与许可
- Account External coding curation authors (57eb56c9)
- Codex; AI-assisted original contribution; CC BY 4.0
最近更改: Initial original methodology; unreviewed.
原创贡献: CC BY 4.0. 链接的来源资料保留其自身权利。