mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-24 02:02:29 -04:00
Fix policy for GetRemoteSubtitles
Other operations related to remote subtitles require the SubtitleManagement policy, so it only makes sense that this operation requires it too.
This commit is contained in:
parent
46071e4628
commit
3d7d0297fe
@ -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/*")]
|
||||
|
Loading…
x
Reference in New Issue
Block a user