Permission handler updated with attachment-specific methods