We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3473c23 + e871211 commit 14c10f0Copy full SHA for 14c10f0
1 file changed
lib/Service/AttachmentService.php
@@ -289,6 +289,7 @@ public function update($cardId, $attachmentId, $data, $type = 'deck_file') {
289
}
290
291
if ($service instanceof ICustomAttachmentService) {
292
+ $this->permissionService->checkPermission($this->cardMapper, $cardId, Acl::PERMISSION_EDIT);
293
try {
294
$attachment = new Attachment();
295
$attachment->setId($attachmentId);
0 commit comments