Can anyone confirm if the before delete with trigger.old is not firing/working on attachments. I do have a before trigger which is not firing.
trigger deletionPrevention on Attachment (before delete)
{
for ( Attachment currAtt : trigger.old ) {
if ( !( isAllowed(currAtt, theUser, allowedUsers) ) ) {..}
}
}
debug logs! – Raul Jan 24 '17 at 10:32