From 75cee740f7703ef037b0e9b35ed3681584b20140 Mon Sep 17 00:00:00 2001 From: Jon Goldberg Date: Tue, 18 Jun 2019 14:48:28 -0400 Subject: [PATCH] move grant budgets menu to grants menu, remove need for Administer CiviCRM permission --- annualgrantbudgets.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/annualgrantbudgets.php b/annualgrantbudgets.php index 1bb7a1a..1040e72 100644 --- a/annualgrantbudgets.php +++ b/annualgrantbudgets.php @@ -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); }