feat: added roles requirement for critical site operations
This commit is contained in:
parent
6ac45b39a2
commit
2279f23ac4
@ -69,6 +69,7 @@ public class SiteEndpoints {
|
||||
|
||||
@DELETE
|
||||
@Path("/del")
|
||||
@RolesAllowed("root")
|
||||
@Operation(summary = "Deletes a site", description = "Permanently removes a site if no Ji are associated to it.")
|
||||
@APIResponses({
|
||||
@APIResponse(responseCode = "200", description = "Successfully deleted"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user