CRM-21189, added new permissions
authorPradeep Nayak <pradpnayak@gmail.com>
Thu, 3 Aug 2017 17:09:11 +0000 (22:39 +0530)
committerdeb.monish <monish.deb@jmaconsulting.biz>
Wed, 20 Sep 2017 08:09:35 +0000 (13:39 +0530)
----------------------------------------
* CRM-21189: Add permission for Close and reopen Batch
  https://issues.civicrm.org/jira/browse/CRM-21189

CRM/Core/Permission.php

index 1e28ab6fdb0ae0bcc6e034592ee4dd1ec765ad50..ef11aa58a673c53f07ec1114e3dadb8d68cf90af 100644 (file)
@@ -826,6 +826,22 @@ class CRM_Core_Permission {
         $prefix . ts('edit all manual batches'),
         ts('Edit all accounting batches'),
       ),
+      'close own manual batches' => array(
+        $prefix . ts('close own manual batches'),
+        ts('Close accounting batches created by user'),
+      ),
+      'close all manual batches' => array(
+        $prefix . ts('close all manual batches'),
+        ts('Close all accounting batches'),
+      ),
+      'reopen own manual batches' => array(
+        $prefix . ts('reopen own manual batches'),
+        ts('Reopen accounting batches created by user'),
+      ),
+      'reopen all manual batches' => array(
+        $prefix . ts('reopen all manual batches'),
+        ts('Reopen all accounting batches'),
+      ),
       'view own manual batches' => array(
         $prefix . ts('view own manual batches'),
         ts('View accounting batches created by user (with Access to CiviContribute)'),