Files
romm/backend/tests/endpoints
Georges-Antoine Assi b518e7526f fix(states): enforce ROM visibility when uploading a state
Uploading a state fetched the ROM without checking it is visible to the
caller, so an ASSETS_WRITE holder could write against a ROM hidden from
them and tell an existing rom_id from a missing one by the 404. The
download path already guards this boundary; the upload path now matches.

The ROM was fetched twice with an identical 404 block, and the first
states_path was recomputed before use, so both collapse into the single
guarded fetch.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-16 19:00:10 -04:00
..
2026-03-14 23:56:46 -04:00
2026-08-01 15:10:56 -04:00
2026-06-21 17:42:25 -04:00
2026-07-01 08:58:00 -04:00
2026-03-14 23:56:46 -04:00