mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-30 19:55:08 -04:00
Restrict item refreshing to administrators
This commit is contained in:
parent
6bb50d5728
commit
d659b9b9ab
@ -15,7 +15,7 @@ namespace Jellyfin.Api.Controllers
|
|||||||
/// Item Refresh Controller.
|
/// Item Refresh Controller.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Route("Items")]
|
[Route("Items")]
|
||||||
[Authorize(Policy = Policies.DefaultAuthorization)]
|
[Authorize(Policy = Policies.RequiresElevation)]
|
||||||
public class ItemRefreshController : BaseJellyfinApiController
|
public class ItemRefreshController : BaseJellyfinApiController
|
||||||
{
|
{
|
||||||
private readonly ILibraryManager _libraryManager;
|
private readonly ILibraryManager _libraryManager;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user