RED-6852 - localManualRedaction is false for resized rule-Based redaction #57

Merged
corina.olariu.ext1 merged 1 commits from RED-6852 into master 2023-07-28 10:58:12 +02:00

View File

@ -87,7 +87,8 @@ public class RedactionLogEntry {
public boolean isLocalManualRedaction() {
return manualChanges != null && manualChanges.stream()
.anyMatch(mc -> mc.getManualRedactionType() == ManualRedactionType.ADD_LOCALLY && mc.getAnnotationStatus() == AnnotationStatus.APPROVED);
.anyMatch(mc -> mc.getManualRedactionType() == ManualRedactionType.ADD_LOCALLY && mc.getAnnotationStatus() == AnnotationStatus.APPROVED
|| mc.getManualRedactionType() == ManualRedactionType.RESIZE && mc.getAnnotationStatus() == AnnotationStatus.APPROVED && engines.contains(Engine.RULE));
}