Merge pull request #7569 from crobibero/repo-auth
(cherry picked from commit a7abdca47a
)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
This commit is contained in:
parent
435fc7ade9
commit
a277318e80
|
@ -155,7 +155,7 @@ namespace Jellyfin.Api.Controllers
|
|||
/// <response code="204">Package repositories saved.</response>
|
||||
/// <returns>A <see cref="NoContentResult"/>.</returns>
|
||||
[HttpPost("Repositories")]
|
||||
[Authorize(Policy = Policies.DefaultAuthorization)]
|
||||
[Authorize(Policy = Policies.RequiresElevation)]
|
||||
[ProducesResponseType(StatusCodes.Status204NoContent)]
|
||||
public ActionResult SetRepositories([FromBody, Required] List<RepositoryInfo> repositoryInfos)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user