mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #5561] [MERGED] Fix duplicate permissions #10561
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?
📋 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:
master← Head:permissions-fix📝 Commits (2)
12b8e29Fix duplicate permissions85da0b5Fix user mocking📊 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.