Skip to content

Commit a677a01

Browse files
committed
fix: authorize user platine to get review indicator
1 parent faa5c99 commit a677a01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/fr/insee/genesis/controller/rest/DataProcessingContextController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public ResponseEntity<Object> saveContext(
6262

6363
@Operation(summary = "Returns partition review indicator")
6464
@GetMapping(path = "/review")
65-
@PreAuthorize("hasAnyRole('USER_BACK_OFFICE','SCHEDULER')")
65+
@PreAuthorize("hasAnyRole('USER_BACK_OFFICE','SCHEDULER','USER_PLATINE')")
6666
public ResponseEntity<Object> getReviewIndicator(
6767
@Parameter(description = "Identifier of the partition", required = true) @RequestParam("partitionId") String partitionId
6868
){

0 commit comments

Comments
 (0)