[PR #3312] [CLOSED] Implement LocalOrElevated authorization policy #9445

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

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/3312
Author: @daullmer
Created: 6/11/2020
Status: Closed

Base: api-migrationHead: api-localauthorization


📝 Commits (1)

  • f5a5d41 Implement LocalOrElevated authorization policy

📊 Changes

4 files changed (+68 additions, -0 deletions)

View changed files

Jellyfin.Api/Auth/LocalOrElevatedPolicy/LocalOrElevatedPolicyHandler.cs (+44 -0)
Jellyfin.Api/Auth/LocalOrElevatedPolicy/LocalOrElevatedPolicyRequirement.cs (+11 -0)
📝 Jellyfin.Api/Constants/Policies.cs (+5 -0)
📝 Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs (+8 -0)

📄 Description

Changes
Implement a LocalOrElevated authorization policy which replaced AllowLocal = true from the old Api endpoint

Issues
Part of #2872


🔄 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/3312 **Author:** [@daullmer](https://github.com/daullmer) **Created:** 6/11/2020 **Status:** ❌ Closed **Base:** `api-migration` ← **Head:** `api-localauthorization` --- ### 📝 Commits (1) - [`f5a5d41`](https://github.com/jellyfin/jellyfin/commit/f5a5d41300a64bccbd46e8d25da1a49799f79cf1) Implement LocalOrElevated authorization policy ### 📊 Changes **4 files changed** (+68 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `Jellyfin.Api/Auth/LocalOrElevatedPolicy/LocalOrElevatedPolicyHandler.cs` (+44 -0) ➕ `Jellyfin.Api/Auth/LocalOrElevatedPolicy/LocalOrElevatedPolicyRequirement.cs` (+11 -0) 📝 `Jellyfin.Api/Constants/Policies.cs` (+5 -0) 📝 `Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs` (+8 -0) </details> ### 📄 Description **Changes** Implement a `LocalOrElevated` authorization policy which replaced `AllowLocal = true` from the old Api endpoint **Issues** Part of #2872 --- <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:02:15 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#9445