From 9731be0bfb82d44c3f741c4151a09281eea2e3ed Mon Sep 17 00:00:00 2001 From: chinkara Date: Tue, 7 May 2024 14:45:45 +0000 Subject: [PATCH] fix #11318 by editing the delete endpoint --- Jellyfin.Api/Controllers/SubtitleController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jellyfin.Api/Controllers/SubtitleController.cs b/Jellyfin.Api/Controllers/SubtitleController.cs index 9da1dce93ef6..e0c0451e42a5 100644 --- a/Jellyfin.Api/Controllers/SubtitleController.cs +++ b/Jellyfin.Api/Controllers/SubtitleController.cs @@ -89,7 +89,7 @@ public class SubtitleController : BaseJellyfinApiController /// Item not found. /// A . [HttpDelete("Videos/{itemId}/Subtitles/{index}")] - [Authorize(Policy = Policies.RequiresElevation)] + [Authorize(Policy = Policies.SubtitleManagement)] [ProducesResponseType(StatusCodes.Status204NoContent)] [ProducesResponseType(StatusCodes.Status404NotFound)] public async Task DeleteSubtitle(