RED-9495 - Remove here for locally resized dictionary entry should remove the entry completly #583

Merged
corina.olariu.ext1 merged 3 commits from RED-9495 into master 2024-07-11 14:34:57 +02:00
Showing only changes of commit 0bf85842c1 - Show all commits

View File

@ -71,13 +71,12 @@ public class ManualRedactionController implements ManualRedactionResource {
public void undo(@PathVariable(DOSSIER_ID) String dossierId,
@PathVariable(FILE_ID) String fileId,
@RequestBody Set<String> annotationIds,
@RequestParam(value = "includeUnprocessed", required = false, defaultValue = FALSE) boolean includeUnprocessed,
@RequestParam(value = "localOnly", required = false, defaultValue = FALSE) boolean localOnly) {
@RequestParam(value = "includeUnprocessed", required = false, defaultValue = FALSE) boolean includeUnprocessed) {
accessControlService.checkDossierExistenceAndAccessPermissionsToDossier(dossierId);
accessControlService.verifyFileIsNotApproved(dossierId, fileId);
accessControlService.verifyUserIsApprover(dossierId);
manualRedactionUndoService.undo(dossierId, fileId, annotationIds, includeUnprocessed, localOnly);
manualRedactionUndoService.undo(dossierId, fileId, annotationIds, includeUnprocessed);
}