pub async fn ensure_can_attach( pool: &PgPool, actor: &Actor, revision_id: Uuid, ) -> AppResult<Revision>
Fails early (before receiving an upload) if files cannot be attached.