CRM-15854 - crmMailing, crmMailingAB - Respect 'delete in CiviMail' permission
[civicrm-core.git] / partials / crmMailingAB / edit.html
index 357d96fcc62a6cacbe9cd49b5be5b52f89fc1e89..75a7c5ea56faf7ef092cd94bc448f5fc5bddf023 100644 (file)
       <span crm-ui-wizard-buttons style="float:right;">
         <button
           crm-icon="trash"
+          ng-show="checkPerm('delete in CiviMail')"
           ng-disabled="block.check()"
           crm-confirm="{title:ts('Delete Draft'), message:ts('Are you sure you want to permanently delete this mailing?')}"
           on-yes="delete()">{{ts('Delete Draft')}}