Files
romm/backend
Georges-Antoine Assi 8a82d4a5a5 fix(upload): recheck platform visibility when completing a chunked upload (#5458)
/start checked that the caller could see the platform, but /complete wrote
into the platform folder using the fs_slug cached in the upload session. An
Editor who opened a session before an admin hid the platform could still
finish it during the 24h session TTL.

Completion now re-resolves the platform through the same helper /start
uses, so a hidden or deleted platform answers "Platform not found" and the
staged chunks are cleaned up. The session no longer caches the fs_slug; the
folder comes from the platform's current row. The ROM-folder branch already
rechecked ROM visibility at completion.


Claude-Session: https://claude.ai/code/session_011waFLHbQCsqHfeX1CKGZ7s

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-02 08:07:43 -05:00
..
2024-02-10 12:43:39 -05:00