mirror of
https://codeberg.org/beerbrawl/beerbrawl.git
synced 2024-09-23 01:30:52 +02:00
fix: admin role being required for tournament create
This commit is contained in:
parent
4f4c54242e
commit
99f1826c8d
|
@ -35,7 +35,7 @@ public class TournamentEndpoint {
|
|||
this.tournamentMapper = tournamentMapper;
|
||||
}
|
||||
|
||||
@Secured("ROLE_ADMIN")
|
||||
@Secured("ROLE_USER")
|
||||
@ResponseStatus(HttpStatus.CREATED)
|
||||
@PostMapping
|
||||
@Operation(summary = "Create a new tournament", security = @SecurityRequirement(name = "apiKey"))
|
||||
|
|
Loading…
Reference in a new issue