mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #5764] [MERGED] Do not check permissions for Folders collectiontype #10645
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?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/5764
Author: @cvium
Created: 4/11/2021
Status: ✅ Merged
Merged: 4/11/2021
Merged by: @joshuaboniface
Base:
master← Head:fix-folders-perms📝 Commits (1)
f2e7491Do not check permissions for Folders collectiontype📊 Changes
1 file changed (+10 additions, -4 deletions)
View changed files
📝
Jellyfin.Api/Controllers/ItemsController.cs(+10 -4)📄 Description
Changes
CollectionType.Folders seems to be a special type that is only (?) used by the "Folder view" option. Permissions are checked for the individual libraries, so no need to check for "Folders" itself.
Issues
Fixes https://github.com/jellyfin/jellyfin/issues/2754
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.