move grant budgets menu to grants menu, remove need for Administer CiviCRM permission
This commit is contained in:
parent
15159960b2
commit
75cee740f7
@ -193,13 +193,12 @@ function annualgrantbudgets_civicrm_entityTypes(&$entityTypes) {
|
||||
*
|
||||
*/
|
||||
function annualgrantbudgets_civicrm_navigationMenu(&$menu) {
|
||||
_annualgrantbudgets_civix_insert_navigation_menu($menu, 'Administer/CiviGrant', [
|
||||
_annualgrantbudgets_civix_insert_navigation_menu($menu, 'Grants', [
|
||||
'label' => ts('Grant Budget', ['domain' => 'org.agbu.annualgrantbudgets']),
|
||||
'name' => 'grant_annual_budget',
|
||||
'url' => CRM_Utils_System::url('civicrm/grant/annual/budgets', 'reset=1&action=browse', TRUE),
|
||||
'active' => 1,
|
||||
'permission_operator' => 'OR',
|
||||
'permission' => 'access CiviGrant,administer CiviCRM',
|
||||
'permission' => 'access CiviGrant',
|
||||
]);
|
||||
_annualgrantbudgets_civix_navigationMenu($menu);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user