diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-10-22 22:09:07 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2026-10-22 22:09:07 -0500 |
| commit | 2ec8380bc37da6c784456d61850b65c8e45af751 (patch) | |
| tree | 06d0de817c56fefec71b37433ad44096a4ee25fa /src/slskd/Core/API/Controllers/LogsController.cs | |
| parent | c5ec01c457d47759c5cd2926af9c381b4a26d30f (diff) | |
| download | slskd-2ec8380bc37da6c784456d61850b65c8e45af751.tar.gz | |
require admin for debug and logs
Diffstat (limited to 'src/slskd/Core/API/Controllers/LogsController.cs')
| -rw-r--r-- | src/slskd/Core/API/Controllers/LogsController.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/slskd/Core/API/Controllers/LogsController.cs b/src/slskd/Core/API/Controllers/LogsController.cs index a83e608c..c11d8ff3 100644 --- a/src/slskd/Core/API/Controllers/LogsController.cs +++ b/src/slskd/Core/API/Controllers/LogsController.cs @@ -51,6 +51,7 @@ namespace slskd.Core.API [ApiController] [Produces("application/json")] [Consumes("application/json")] + [Authorize(Policy = AuthPolicy.Any, Roles = AuthRole.AdministratorOnly)] public class LogsController : ControllerBase { public LogsController(FileService fileService) |
