Skip to content

Commit 9a6a923

Browse files
committed
fix: wrong syntax
1 parent f18ccec commit 9a6a923

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/fr/insee/genesis/controller/rest/responses/EditedResponseController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public ResponseEntity<Object> readEditedPreviousJson(
8585

8686
@Operation(summary = "Add edited external json file")
8787
@PostMapping(path = "/external/json")
88-
@PreAuthorize("hasRole('USER_PLATINE','SCHEDULER')")
88+
@PreAuthorize("hasAnyRole('USER_PLATINE','SCHEDULER')")
8989
public ResponseEntity<Object> readEditedExternalJson(
9090
@RequestParam("questionnaireId") String questionnaireId,
9191
@RequestParam("mode") Mode mode,

0 commit comments

Comments
 (0)