fix programming rights issue in getAttachmentFileListWithActions