permission fix
This commit is contained in:
parent
4e3ffa7ee0
commit
cf1a4923bc
@ -243,4 +243,7 @@ function annualgrantbudgets_civicrm_alterAPIPermissions($entity, $action, &$para
|
|||||||
// Editing the budget should be possible with just "Access CiviGrant".
|
// Editing the budget should be possible with just "Access CiviGrant".
|
||||||
$permissions['grant_budget']['create'] = array('access CiviGrant');
|
$permissions['grant_budget']['create'] = array('access CiviGrant');
|
||||||
$permissions['grant_budget']['update'] = 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');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user