From cf1a4923bca126ea12af13a5577a0adfa39abe2a Mon Sep 17 00:00:00 2001 From: Jon Goldberg Date: Mon, 8 Jul 2019 15:05:14 -0400 Subject: [PATCH] permission fix --- annualgrantbudgets.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/annualgrantbudgets.php b/annualgrantbudgets.php index 086dfd2..3824af4 100644 --- a/annualgrantbudgets.php +++ b/annualgrantbudgets.php @@ -243,4 +243,7 @@ function annualgrantbudgets_civicrm_alterAPIPermissions($entity, $action, &$para // Editing the budget should be possible with just "Access CiviGrant". $permissions['grant_budget']['create'] = array('access CiviGrant'); $permissions['grant_budget']['update'] = array('access CiviGrant'); + // They also need to be able to look up financial accounts to assign them. + $permissions['financial_account']['getlist'] = array('access CiviGrant'); + $permissions['financial_account']['get'] = array('access CiviGrant'); }