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:
commit
80e80bc295
@ -134,6 +134,8 @@ public class AnnotationHighlightService {
|
|||||||
requestedToRemove = true;
|
requestedToRemove = true;
|
||||||
manualOverrideReason = entity.getRedactionReason() + ", requested to remove";
|
manualOverrideReason = entity.getRedactionReason() + ", requested to remove";
|
||||||
redactionLogEntry.setStatus(Status.REQUESTED);
|
redactionLogEntry.setStatus(Status.REQUESTED);
|
||||||
|
} else {
|
||||||
|
redactionLogEntry.setStatus(Status.DECLINED);
|
||||||
}
|
}
|
||||||
|
|
||||||
entity.setRedactionReason(manualOverrideReason != null ? manualOverrideReason : entity.getRedactionReason());
|
entity.setRedactionReason(manualOverrideReason != null ? manualOverrideReason : entity.getRedactionReason());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user