mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[PR #9093] Add option to specify user id on user creation #11973
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?
Original Pull Request: https://github.com/jellyfin/jellyfin/pull/9093
State: closed
Merged: No
The issue being solved here is that custom user management plugins (such as this one) cannot set a Guid when adding a new user - it is always choosen at random. Normally this is good behaviour, but for plugins trying to synchronize data this is problematic.
I did not find a good way to change the user id (shortly) after creation, so I propose to make it configurable (for plugins) instead. Implementations not requiring a specific ID can still operate as-is, API compatibility is maintained.