[PR #4716] [MERGED] Update authorization policies for SyncPlay #10241

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

📋 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: masterHead: syncplay-new-auth-policies


📝 Commits (2)

  • 499f3ee Update authorization policies for SyncPlay
  • fbeb022 Minor 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.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/4716 **Author:** [@OancaAndrei](https://github.com/OancaAndrei) **Created:** 12/7/2020 **Status:** ✅ Merged **Merged:** 12/14/2020 **Merged by:** [@joshuaboniface](https://github.com/joshuaboniface) **Base:** `master` ← **Head:** `syncplay-new-auth-policies` --- ### 📝 Commits (2) - [`499f3ee`](https://github.com/jellyfin/jellyfin/commit/499f3ee9505437a5b38c315201ccc832561be715) Update authorization policies for SyncPlay - [`fbeb022`](https://github.com/jellyfin/jellyfin/commit/fbeb0228a2cae833a8a5017edeaf97f89b5acfb3) Minor code style related change ### 📊 Changes **11 files changed** (+191 additions, -32 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 Description <!-- Ensure your title is short, descriptive, and in the imperative mood (Fix X, Change Y, instead of Fixed X, Changed Y). For a good inspiration of what to write in commit messages and PRs please review https://chris.beams.io/posts/git-commit/ and our documentation. --> **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](https://github.com/jellyfin/jellyfin/pull/3194#discussion_r536537652). --- <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:16:36 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#10241