Pull request #67: RED-632: Set status DECLINED in RedactionLog for manual removals that are DECLINED

Merge in RED/redaction-service from RED-632 to master

* commit '85d73dae4764409646ce387a379a9e0fc3c1e70c':
  RED-632: Set status DECLINED in RedactionLog for manual removals that are DECLINED
This commit is contained in:
Dominique Eiflaender 2020-11-12 16:25:54 +01:00
commit 80e80bc295

View File

@ -134,6 +134,8 @@ public class AnnotationHighlightService {
requestedToRemove = true;
manualOverrideReason = entity.getRedactionReason() + ", requested to remove";
redactionLogEntry.setStatus(Status.REQUESTED);
} else {
redactionLogEntry.setStatus(Status.DECLINED);
}
entity.setRedactionReason(manualOverrideReason != null ? manualOverrideReason : entity.getRedactionReason());