[PR #5250] [MERGED] Fix user renaming logic #10270

Closed
opened 2025-12-22 07:57:21 +01:00 by backuprepo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/5250
Author: @barronpm
Created: 2/17/2021
Status: Merged
Merged: 2/17/2021
Merged by: @dkanada

Base: masterHead: user-rename-fix


📝 Commits (2)

  • 1171b5a Fix user renaming logic
  • f127096 Don't allow new users to be created with the same name as an existing user.

📊 Changes

1 file changed (+9 additions, -1 deletions)

View changed files

📝 Jellyfin.Server.Implementations/Users/UserManager.cs (+9 -1)

📄 Description

Changes
Fixes an issue where users can be created/renamed to have a username match another user. This can cause behavior where one user "hides" another because getting the user by name always picks one over the other.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/5250 **Author:** [@barronpm](https://github.com/barronpm) **Created:** 2/17/2021 **Status:** ✅ Merged **Merged:** 2/17/2021 **Merged by:** [@dkanada](https://github.com/dkanada) **Base:** `master` ← **Head:** `user-rename-fix` --- ### 📝 Commits (2) - [`1171b5a`](https://github.com/jellyfin/jellyfin/commit/1171b5ab923e0a0ad6b412201ed7ba0d33f51229) Fix user renaming logic - [`f127096`](https://github.com/jellyfin/jellyfin/commit/f127096660a0eed7da2ef6db68720eba4dfbd7a0) Don't allow new users to be created with the same name as an existing user. ### 📊 Changes **1 file changed** (+9 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `Jellyfin.Server.Implementations/Users/UserManager.cs` (+9 -1) </details> ### 📄 Description **Changes** Fixes an issue where users can be created/renamed to have a username match another user. This can cause behavior where one user "hides" another because getting the user by name always picks one over the other. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
backuprepo 2025-12-22 07:57:21 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#10270
No description provided.