diff --git a/lib/Service/AttachmentService.php b/lib/Service/AttachmentService.php index 82a946c097..e2dd6063f4 100644 --- a/lib/Service/AttachmentService.php +++ b/lib/Service/AttachmentService.php @@ -289,6 +289,7 @@ public function update($cardId, $attachmentId, $data, $type = 'deck_file') { } if ($service instanceof ICustomAttachmentService) { + $this->permissionService->checkPermission($this->cardMapper, $cardId, Acl::PERMISSION_EDIT); try { $attachment = new Attachment(); $attachment->setId($attachmentId);