mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #5755] [MERGED] Auth: Network Access Policy #10638
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/5755
Author: @BaronGreenback
Created: 4/10/2021
Status: ✅ Merged
Merged: 10/26/2021
Merged by: @cvium
Base:
master← Head:NetworkAccessPolicy📝 Commits (8)
5fb7557Network Access Policycf3aff9revert change error0db5df8Update Jellyfin.Api/Constants/Policies.csaf027b6Fixed after accepting suggestion.fb7587dRenamed8496d76Merge branch 'master' into NetworkAccessPolicy6637a30Remove the dependency on BaseAuthorizationHandlera60a1abFix xmldoc📊 Changes
6 files changed (+76 additions, -1 deletions)
View changed files
➕
Jellyfin.Api/Auth/AnonymousLanAccessPolicy/AnonymousLanAccessHandler.cs(+47 -0)➕
Jellyfin.Api/Auth/AnonymousLanAccessPolicy/AnonymousLanAccessRequirement.cs(+11 -0)📝
Jellyfin.Api/Auth/BaseAuthorizationHandler.cs(+1 -1)📝
Jellyfin.Api/Constants/Policies.cs(+5 -0)📝
Jellyfin.Api/Controllers/DlnaServerController.cs(+3 -0)📝
Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs(+9 -0)📄 Description
An access policy for DLNA based on the device being present on the LAN.
As some DLNA devices do not support authentication, only the IP address can be used for auth purposes.
Successfully tested in DLNA plugin.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.