Skip to content

Restrict CreateWorkerVersion to the revision of a Repository process

Further tightening after #1497 (closed): CreateWorkerVersion should only allow creating worker versions on the revision of the calling Repository process.

Removing the revision_id field from the endpoint is probably easier than introducing the extra check. Please add a unit test that still sends an incorrect revision ID to check that the ID is ignored.