mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 05:57:20 -04:00
Restrict item refreshing to administrators
This commit is contained in:
parent
6bb50d5728
commit
d659b9b9ab
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue