[Permissions] Channels appear empty unless user has All Libraries access #1473

Closed
opened 2026-02-06 21:01:24 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @PrplHaz4 on GitHub (Mar 30, 2020).

Describe the bug
No items are listed in Channels provided by Plugins (LazyMan, ServerWMC) for users that do NOT have "Enable access to All Libraries".

System (please complete the following information):

  • OS: Debian
  • Virtualization: Docker
  • Clients: Web
  • Browser: Firefox 74
  • Jellyfin Version: 10.5.2
  • Playback: NA
  • Installed Plugins: LazyMan, ServerWMC
  • Reverse Proxy: Traefik
  • Base URL: none
  • Networking: macvlan
  • Storage: local

To Reproduce

  1. Go to Users -> Choose User
  2. Remove Check from "Enable acces too All Libraries"
  3. Make sure "Enable access to All Channels" is checked
  4. Save User
  5. Browse to plugin Channel from Home screen
  6. Observe no items are displayed inside the Plugin's Channel

Expected behavior

Items provided by the Plugin are listed in the Channel

Logs

[2020-03-21 21:30:57.019 -06:00] [WRN] [9] App: "Username" is not permitted to access Library "ServerWMC Recordings".

Screenshots

Additional context

Quality bug report courtesty of @nebulous999 here: https://github.com/jellyfin/jellyfin-plugin-serverwmc/issues/10

Issue appears to be on this line, where there is a check for enabled folders but not for enabled channels:
https://github.com/jellyfin/jellyfin/blob/master/MediaBrowser.Api/UserLibrary/ItemsService.cs#L228

It seems this code was touched with this commits to add trimming by folder:
https://github.com/jellyfin/jellyfin/issues/930
https://github.com/jellyfin/jellyfin/issues/1436

Originally created by @PrplHaz4 on GitHub (Mar 30, 2020). **Describe the bug** No items are listed in Channels provided by Plugins (LazyMan, ServerWMC) for users that do NOT have "Enable access to All Libraries". **System (please complete the following information):** - OS: Debian - Virtualization: Docker - Clients: Web - Browser: Firefox 74 - Jellyfin Version: 10.5.2 - Playback: NA - Installed Plugins: LazyMan, ServerWMC - Reverse Proxy: Traefik - Base URL: none - Networking: macvlan - Storage: local **To Reproduce** <!-- Steps to reproduce the behavior: --> 1. Go to Users -> Choose User 2. Remove Check from "Enable acces too All Libraries" 3. Make sure "Enable access to All Channels" is checked 4. Save User 5. Browse to plugin Channel from Home screen 6. Observe no items are displayed inside the Plugin's Channel **Expected behavior** <!-- A clear and concise description of what you expected to happen. --> Items provided by the Plugin are listed in the Channel **Logs** <!-- Please paste any log errors. --> ``` [2020-03-21 21:30:57.019 -06:00] [WRN] [9] App: "Username" is not permitted to access Library "ServerWMC Recordings". ``` **Screenshots** <!-- If applicable, add screenshots to help explain your problem. --> **Additional context** <!-- Add any other context about the problem here. --> Quality bug report courtesty of @nebulous999 here: https://github.com/jellyfin/jellyfin-plugin-serverwmc/issues/10 Issue appears to be on this line, where there is a check for enabled folders but not for enabled channels: https://github.com/jellyfin/jellyfin/blob/master/MediaBrowser.Api/UserLibrary/ItemsService.cs#L228 It seems this code was touched with this commits to add trimming by folder: https://github.com/jellyfin/jellyfin/issues/930 https://github.com/jellyfin/jellyfin/issues/1436
OVERLORD added the bug label 2026-02-06 21:01:24 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#1473