Skip to content

Commit

Permalink
add missing authorization
Browse files Browse the repository at this point in the history
  • Loading branch information
leeeryboy authored Feb 28, 2025
1 parent 2166665 commit c4f4731
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ class CouncilController(
@GetMapping("/intro")
fun readIntro(): CouncilIntroDto = councilService.readIntro()

@PreAuthorize("hasAnyRole('COUNCIL', 'STAFF')")
@PutMapping("/intro", consumes = ["multipart/form-data"])
fun upsertIntro(
@RequestPart request: CouncilIntroUpdateRequest,
Expand Down

0 comments on commit c4f4731

Please sign in to comment.