Shadowghost 1 rok temu
rodzic
commit
247ec19de4
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Jellyfin.Api/Controllers/PlaylistsController.cs

+ 1 - 1
Jellyfin.Api/Controllers/PlaylistsController.cs

@@ -208,7 +208,7 @@ public class PlaylistsController : BaseJellyfinApiController
             return NotFound("Playlist not found");
         }
 
-        var isPermitted = playlist.OwnerUserId.Equals(userId)
+        var isPermitted = playlist.OwnerUserId.Equals(callingUserId)
             || playlist.Shares.Any(s => s.CanEdit && s.UserId.Equals(callingUserId))
             || userId.Equals(callingUserId);