From 47a98aef9c0723b71553d1eb694e3178fd4140f6 Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Thu, 3 Aug 2017 22:39:11 +0530 Subject: [PATCH] CRM-21189, added new permissions ---------------------------------------- * CRM-21189: Add permission for Close and reopen Batch https://issues.civicrm.org/jira/browse/CRM-21189 --- CRM/Core/Permission.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/CRM/Core/Permission.php b/CRM/Core/Permission.php index 1e28ab6fdb..ef11aa58a6 100644 --- a/CRM/Core/Permission.php +++ b/CRM/Core/Permission.php @@ -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)'), -- 2.25.1