mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-26 15:38:39 +02:00
025888204d
Currently, permission settings on Channels are not taken into account prior to returning `{UserName} is not permitted to access Library {ItemName}.`. Whether or not a user can see items within the Channel is solely dependent on `EnableAllFolders`, so you cannot view a plugin's Channels unless you can also see ALL libraries. This PR enables does two things for Channel-providing Plugins: 1. Fixes functionality of "EnableAllChannels" 2. Allows users with Channel permissions to access all folders within that Channel I'm not 100% sure on 2 but I wasn't able to see an obvious way to propagate permissions downward into specific Folders inside a Channel. I tested on a fairly simple library with two channel-providing plugins (ServerWMC, LazyMan) and it seems to work, but this behavior should also be tested by someone with more content/collections. |
||
---|---|---|
.. | ||
Attachments | ||
Devices | ||
Images | ||
Library | ||
LiveTv | ||
Movies | ||
Music | ||
Playback | ||
Properties | ||
ScheduledTasks | ||
Sessions | ||
Subtitles | ||
System | ||
UserLibrary | ||
ApiEntryPoint.cs | ||
BaseApiService.cs | ||
BrandingService.cs | ||
ChannelService.cs | ||
ConfigurationService.cs | ||
DisplayPreferencesService.cs | ||
EnvironmentService.cs | ||
FilterService.cs | ||
IHasDtoOptions.cs | ||
IHasItemFields.cs | ||
ItemLookupService.cs | ||
ItemRefreshService.cs | ||
ItemUpdateService.cs | ||
LocalizationService.cs | ||
MediaBrowser.Api.csproj | ||
PackageService.cs | ||
PlaylistService.cs | ||
PluginService.cs | ||
SearchService.cs | ||
SimilarItemsHelper.cs | ||
SuggestionsService.cs | ||
TranscodingJob.cs | ||
TvShowsService.cs | ||
UserService.cs | ||
VideosService.cs |