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
|
@DELETE
|
||||||
@Path("/del")
|
@Path("/del")
|
||||||
|
@RolesAllowed("root")
|
||||||
@Operation(summary = "Deletes a site", description = "Permanently removes a site if no Ji are associated to it.")
|
@Operation(summary = "Deletes a site", description = "Permanently removes a site if no Ji are associated to it.")
|
||||||
@APIResponses({
|
@APIResponses({
|
||||||
@APIResponse(responseCode = "200", description = "Successfully deleted"),
|
@APIResponse(responseCode = "200", description = "Successfully deleted"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user