Fixed embedded attachments and attachment permissions