Details
Description
On an upgraded site, when sending a Test email for a mailer with an attachment, I get
Failed to run permission check: Unrecognized target entity table (civicrm_note)
I attempted to debug this a bit here http://civicrm.stackexchange.com/questions/4929/after-upgrading-to-4-6-7-civimail-fails-to-send-mail
Seems that we have a related problem. You can see here our report for more info:
http://civicrm.stackexchange.com/questions/4507/why-unexpected-attached-files-are-loaded-in-all-mailings-by-default