mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
Library access controls do not prevent API listing of all server content #4342
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @thornbill on GitHub (Nov 9, 2022).
Originally assigned to: @Shadowghost on GitHub.
Please describe your bug
Limiting a user's access to libraries does not prevent them from discovering and listing the contents of all libraries on a server via the API. Similarly disabling live TV access does not prevent a user from listing all TV channels via the API.
Policyreturned by/Users/{USER_ID}includes:EnableAllFolders: falseEnabledFolders: []EnableLiveTvAccess: false/Library/MediaFoldersand observe that a list of ALL libraries are returned./Users/{USER_ID}/Items?ParentId={LIBRARY_ID}and observe that a list of ALL library contents are returned./LiveTv/Channelsand observe that a list of ALL channels are returned.Jellyfin Version
likely all, tested on 10.8.1, 10.8.7, and unstable
Code of Conduct
@VideoFX commented on GitHub (Nov 12, 2022):
Oh I got this too, i posted this before i noticed your post: https://github.com/jellyfin/jellyfin/issues/8730
@Shadowghost commented on GitHub (May 15, 2023):
All ACL issues listed are fixed in current master.