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

- rollback changes for another ticket
This commit is contained in:
corinaolariu 2024-07-10 16:03:09 +03:00
parent 4fbea2e3e7
commit 0bf85842c1

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);
}