permission fix

This commit is contained in:
Jon Goldberg 2019-07-08 15:05:14 -04:00
parent 4e3ffa7ee0
commit cf1a4923bc
No known key found for this signature in database
GPG Key ID: C2D2247364F9DB13

View File

@ -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');
}