diff options
| author | Niels van Velzen <git@ndat.nl> | 2022-03-12 15:47:30 +0100 |
|---|---|---|
| committer | Niels van Velzen <git@ndat.nl> | 2022-03-12 15:47:30 +0100 |
| commit | d659b9b9abd156ca1202eddb491a2c024cd9544d (patch) | |
| tree | 67e622f5f67ada80878690d8fec11f442a8b6e5a /Jellyfin.Api/Controllers/ItemRefreshController.cs | |
| parent | 6bb50d572840d4e585a36ba1dc0c338666f54906 (diff) | |
Restrict item refreshing to administrators
Diffstat (limited to 'Jellyfin.Api/Controllers/ItemRefreshController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/ItemRefreshController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/ItemRefreshController.cs b/Jellyfin.Api/Controllers/ItemRefreshController.cs index 3dea1924e..9340737b5 100644 --- a/Jellyfin.Api/Controllers/ItemRefreshController.cs +++ b/Jellyfin.Api/Controllers/ItemRefreshController.cs @@ -15,7 +15,7 @@ namespace Jellyfin.Api.Controllers /// Item Refresh Controller. /// </summary> [Route("Items")] - [Authorize(Policy = Policies.DefaultAuthorization)] + [Authorize(Policy = Policies.RequiresElevation)] public class ItemRefreshController : BaseJellyfinApiController { private readonly ILibraryManager _libraryManager; |
