getAcl()->checkScope('Attachment', 'create')) { throw new Forbidden(); } return $this->getRecordService()->getAttachmentList($id)->toArray(); } }