diff options
| author | David <daullmer@gmail.com> | 2020-06-22 15:44:11 +0200 |
|---|---|---|
| committer | David <daullmer@gmail.com> | 2020-06-22 15:44:11 +0200 |
| commit | 5c6e9f4db58883db43055cd37b2cecd9fa2c12b2 (patch) | |
| tree | 2275e969165dc90f09e300cc4ffafb0ca68ec9ed /Jellyfin.Api/Controllers/ItemRefreshController.cs | |
| parent | 743032f1e12fb964802b28de21aec977b556b786 (diff) | |
Add missing authorization policies
Diffstat (limited to 'Jellyfin.Api/Controllers/ItemRefreshController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/ItemRefreshController.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/ItemRefreshController.cs b/Jellyfin.Api/Controllers/ItemRefreshController.cs index e527e5410..e6cdf4edb 100644 --- a/Jellyfin.Api/Controllers/ItemRefreshController.cs +++ b/Jellyfin.Api/Controllers/ItemRefreshController.cs @@ -1,6 +1,7 @@ using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; +using Jellyfin.Api.Constants; using MediaBrowser.Controller.Library; using MediaBrowser.Controller.Providers; using MediaBrowser.Model.IO; @@ -15,7 +16,7 @@ namespace Jellyfin.Api.Controllers /// </summary> /// [Authenticated] [Route("/Items")] - [Authorize] + [Authorize(Policy = Policies.DefaultAuthorization)] public class ItemRefreshController : BaseJellyfinApiController { private readonly ILibraryManager _libraryManager; |
