[PR #5561] [MERGED] Fix duplicate permissions #10561

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

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/5561
Author: @barronpm
Created: 3/18/2021
Status: Merged
Merged: 3/19/2021
Merged by: @cvium

Base: masterHead: permissions-fix


📝 Commits (2)

📊 Changes

4 files changed (+26 additions, -15 deletions)

View changed files

📝 Jellyfin.Data/Entities/User.cs (+18 -15)
📝 Jellyfin.Server.Implementations/Users/UserManager.cs (+3 -0)
📝 tests/Jellyfin.Api.Tests/Auth/CustomAuthenticationHandlerTests.cs (+2 -0)
📝 tests/Jellyfin.Api.Tests/TestHelpers.cs (+3 -0)

📄 Description

Changes
Fixes permissions being duplicated as a result of side effects of the user entity constructor.


🔄 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/5561 **Author:** [@barronpm](https://github.com/barronpm) **Created:** 3/18/2021 **Status:** ✅ Merged **Merged:** 3/19/2021 **Merged by:** [@cvium](https://github.com/cvium) **Base:** `master` ← **Head:** `permissions-fix` --- ### 📝 Commits (2) - [`12b8e29`](https://github.com/jellyfin/jellyfin/commit/12b8e29aefad3ad202769cdab9c6afc17c5687d9) Fix duplicate permissions - [`85da0b5`](https://github.com/jellyfin/jellyfin/commit/85da0b50e2e9686a0d660e2c2138709937c2fee2) Fix user mocking ### 📊 Changes **4 files changed** (+26 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `Jellyfin.Data/Entities/User.cs` (+18 -15) 📝 `Jellyfin.Server.Implementations/Users/UserManager.cs` (+3 -0) 📝 `tests/Jellyfin.Api.Tests/Auth/CustomAuthenticationHandlerTests.cs` (+2 -0) 📝 `tests/Jellyfin.Api.Tests/TestHelpers.cs` (+3 -0) </details> ### 📄 Description **Changes** Fixes permissions being duplicated as a result of side effects of the user entity constructor. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 06:22:30 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#10561