mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[PR #4716] [MERGED] Update authorization policies for SyncPlay #10241
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/4716
Author: @OancaAndrei
Created: 12/7/2020
Status: ✅ Merged
Merged: 12/14/2020
Merged by: @joshuaboniface
Base:
master← Head:syncplay-new-auth-policies📝 Commits (2)
499f3eeUpdate authorization policies for SyncPlayfbeb022Minor code style related change📊 Changes
11 files changed (+191 additions, -32 deletions)
View changed files
📝
Emby.Server.Implementations/SyncPlay/SyncPlayManager.cs(+44 -0)📝
Jellyfin.Api/Auth/SyncPlayAccessPolicy/SyncPlayAccessHandler.cs(+50 -3)📝
Jellyfin.Api/Auth/SyncPlayAccessPolicy/SyncPlayAccessRequirement.cs(+3 -11)📝
Jellyfin.Api/Constants/Policies.cs(+14 -4)📝
Jellyfin.Api/Controllers/SyncPlayController.cs(+21 -4)📝
Jellyfin.Data/Entities/User.cs(+2 -2)➕
Jellyfin.Data/Enums/SyncPlayAccessRequirementType.cs(+28 -0)📝
Jellyfin.Data/Enums/SyncPlayUserAccessType.cs(+2 -2)📝
Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs(+18 -4)📝
MediaBrowser.Controller/SyncPlay/ISyncPlayManager.cs(+7 -0)📝
MediaBrowser.Model/Users/UserPolicy.cs(+2 -2)📄 Description
Changes
Add new types of policies for accessing SyncPlay.
Add sessions counter of a user to let them access groups they've joined.
Issues
Related to this.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.