jellyfin/MediaBrowser.Api/UserLibrary
PrplHaz4 025888204d
Fix permission setting on Channels
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.
2020-03-30 17:14:59 -04:00
..
ArtistsService.cs * Add support for multi segment base urls 2019-11-25 11:55:24 +01:00
BaseItemsByNameService.cs * Add support for multi segment base urls 2019-11-25 11:55:24 +01:00
BaseItemsRequest.cs Some Lists -> IEnumerable 2019-02-12 21:06:47 +01:00
GenresService.cs Fix warnings 2020-01-31 22:26:53 +01:00
ItemsService.cs Fix permission setting on Channels 2020-03-30 17:14:59 -04:00
MusicGenresService.cs * Add support for multi segment base urls 2019-11-25 11:55:24 +01:00
PersonsService.cs Fix warnings 2020-01-31 22:26:53 +01:00
PlaystateService.cs fix a few warnings 2020-02-02 00:07:46 +09:00
StudiosService.cs * Add support for multi segment base urls 2019-11-25 11:55:24 +01:00
UserLibraryService.cs * Add support for multi segment base urls 2019-11-25 11:55:24 +01:00
UserViewsService.cs * Add support for multi segment base urls 2019-11-25 11:55:24 +01:00
YearsService.cs Fix warnings 2020-01-31 22:26:53 +01:00