From a277318e80dd744d745cb2d91ce824fc944e74db Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 8 Apr 2022 11:23:30 -0400 Subject: [PATCH] Merge pull request #7569 from crobibero/repo-auth (cherry picked from commit a7abdca47a1d749aac9cb5315fda6fbcab8c6e3b) Signed-off-by: Joshua Boniface --- Jellyfin.Api/Controllers/PackageController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jellyfin.Api/Controllers/PackageController.cs b/Jellyfin.Api/Controllers/PackageController.cs index 5dd49ef2fd..9690aead0c 100644 --- a/Jellyfin.Api/Controllers/PackageController.cs +++ b/Jellyfin.Api/Controllers/PackageController.cs @@ -155,7 +155,7 @@ namespace Jellyfin.Api.Controllers /// Package repositories saved. /// A . [HttpPost("Repositories")] - [Authorize(Policy = Policies.DefaultAuthorization)] + [Authorize(Policy = Policies.RequiresElevation)] [ProducesResponseType(StatusCodes.Status204NoContent)] public ActionResult SetRepositories([FromBody, Required] List repositoryInfos) {