You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Catalog item API ignores library_id when returning media versions #1032
Keep item details and media versions scoped to the library being browsed.
Steps
Create two movie libraries containing different files for the same movie (same canonical content ID).
Use a profile that can access both libraries.
Browse the second library and open the shared movie.
Inspect GET /api/v1/catalog/items/{id}?library_id={second_library_id}
Check returned versions/media files and Media locations in the web UI.
Expected
When library_id is supplied, the API response should contain only media files belonging to that library.
Actual
The API returns media files from both accessible libraries. The web UI displays versions/locations from the other library.
What is slow/broken
Library scoping in the catalog item API and item details in the web UI.
Scope
Consistent when the same canonical movie exists in multiple libraries accessible to the profile. Catalog membership per library is correct; problem is files returned for an individual item.
Version/branch
Official upstream main, commit 3131494, image build-535.
Deployment
ghcr.io/silo-server/silo-server:latest
Technical notes
Web client preserves selected library and sends library_id correctly. Backend parses into AccessFilter.PresentationLibraryID and validates item membership, but FilterMediaFilesByAccess does not apply PresentationLibraryID when filtering the item's files.
Activity
fix(catalog): scope media versions to the requested library
feat(catalog): make library-scoped version lists an admin setting
Quick104 commentedon Oct 23, 2026
Fixed on
mainby #1111. It adds thecatalog.scope_versions_to_libraryadmin setting, which limits item and version reads to the browsedlibrary_id.