mirror of
https://github.com/gotson/komga.git
synced 2025-12-06 08:32:25 +01:00
fix(api): missing admin permission on global settings endpoint
This commit is contained in:
parent
6b27836437
commit
1fe7a001e5
1 changed files with 1 additions and 0 deletions
|
|
@ -130,6 +130,7 @@ class ClientSettingsController(
|
|||
|
||||
@DeleteMapping("global")
|
||||
@ResponseStatus(HttpStatus.NO_CONTENT)
|
||||
@PreAuthorize("hasRole('ADMIN')")
|
||||
@Operation(summary = "Delete global settings", description = "Setting key should be a valid lowercase namespace string like 'application.domain.key'")
|
||||
@OASRequestBody(
|
||||
content = [
|
||||
|
|
|
|||
Loading…
Reference in a new issue