mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #3312] [CLOSED] Implement LocalOrElevated authorization policy #9445
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/3312
Author: @daullmer
Created: 6/11/2020
Status: ❌ Closed
Base:
api-migration← Head:api-localauthorization📝 Commits (1)
f5a5d41Implement 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
LocalOrElevatedauthorization policy which replacedAllowLocal = truefrom the old Api endpointIssues
Part of #2872
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.