Skip to content

Commit

Permalink
fix: enforce maintainer role when using delete rc endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
thielpa committed Feb 17, 2025
1 parent ae54e0e commit 3b032e8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public ResponseEntity<Void> evaluate(@PathVariable String name, @PathVariable bo
return ResponseEntity.ok().build();
}

@EnforceAtLeastMaintainer
@DeleteMapping("/{name}")
public ResponseEntity<ReleaseCandidateInfoDto> deleteReleaseCandidateByName(
@PathVariable String name) {
Expand Down

0 comments on commit 3b032e8

Please sign in to comment.