diff options
| author | Bond-009 <bond.009@outlook.com> | 2024-04-10 18:29:00 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-10 18:29:00 +0200 |
| commit | dc74bc361d586130ed04b24d85456013975d9f44 (patch) | |
| tree | 6a228bdc826b5abb092620c922b27c78611ebafc | |
| parent | 63d7d84d2c3338155511cafc44c64084649bf02a (diff) | |
| parent | 3d7d0297fe2b10241704c303bc5e9f99467ee501 (diff) | |
Merge pull request #11321 from nielsvanvelzen/get-remote-subs-perm
Fix policy for GetRemoteSubtitles
| -rw-r--r-- | Jellyfin.Api/Controllers/SubtitleController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/SubtitleController.cs b/Jellyfin.Api/Controllers/SubtitleController.cs index cc2a630e1..e2c5486d9 100644 --- a/Jellyfin.Api/Controllers/SubtitleController.cs +++ b/Jellyfin.Api/Controllers/SubtitleController.cs @@ -165,7 +165,7 @@ public class SubtitleController : BaseJellyfinApiController /// <response code="200">File returned.</response> /// <returns>A <see cref="FileStreamResult"/> with the subtitle file.</returns> [HttpGet("Providers/Subtitles/Subtitles/{subtitleId}")] - [Authorize] + [Authorize(Policy = Policies.SubtitleManagement)] [ProducesResponseType(StatusCodes.Status200OK)] [Produces(MediaTypeNames.Application.Octet)] [ProducesFile("text/*")] |
