Is it possible to use @PreAuthorize and hasAuthority with a list of values?
@PostMapping("/post") @PreAuthorize("hasAuthority(#parameters.list)