Skip to content

Commit 350a903

Browse files
committed
Update SDMServiceGenericHandler.java
1 parent ce5dd20 commit 350a903

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sdm/src/main/java/com/sap/cds/sdm/service/handler/SDMServiceGenericHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public void copyAttachments(EventContext context) throws IOException {
2525
List<String> objectIds = Arrays.asList(objectIdsString.split(" "));
2626
var copyEventInput =
2727
new CopyAttachmentInput(up__ID, context.getTarget().getQualifiedName(), objectIds);
28-
attachmentService.copyAttachments(copyEventInput, false);
28+
attachmentService.copyAttachments(copyEventInput, context.getUserInfo().isSystemUser());
2929
context.setCompleted();
3030
}
3131
}

0 commit comments

Comments
 (0)