[PR #11024] Always make userId query parameter optional #12698

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

Original Pull Request: https://github.com/jellyfin/jellyfin/pull/11024

State: closed
Merged: Yes


This changes a few API endpoints that currently require a user id as query parameter.

This is both a nice-to-have change for client devs and a potential security fix. I haven't verified but it looks like before this change any authenticated user could get/post the display preferences of all users.

Changes

  • Make userId optional in various operations from the DisplayPreferences, MediaInfo and Playlists API's

Issues

**Original Pull Request:** https://github.com/jellyfin/jellyfin/pull/11024 **State:** closed **Merged:** Yes --- This changes a few API endpoints that currently require a user id as query parameter. This is both a nice-to-have change for client devs and a potential security fix. I haven't verified but it looks like before this change any authenticated user could get/post the display preferences of all users. **Changes** - Make userId optional in various operations from the DisplayPreferences, MediaInfo and Playlists API's **Issues** <!-- Tag any issues that this PR solves here. ex. Fixes # -->
OVERLORD added the pull-request label 2026-02-07 07:00:21 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#12698