Restrict item refreshing to administrators

pull/7448/head
Niels van Velzen 3 years ago
parent 6bb50d5728
commit d659b9b9ab

@ -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;

Loading…
Cancel
Save