Answers.Body: <p>Could <a href="https://docs.civicrm.org/dev/en/master/hooks/hook_civicrm_alterMenu/" rel="nofollow noreferrer">hook_civicrm_alterMenu</a> be what you need?</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-13T14:21:37.980Z
Answers.LastActivityDate: 2017-04-13T14:21:37.980Z
Answers.UserDisplayName: davejenx
Body: <p>I need different access argument for "civicrm/group/add" 
  For now I found only 2 options: alter Group.xml or with hook_civicrm_xmlMenu
  unset Group.xml and use my own file to defined menus. 
  But it would be nice just to use some hook to alter access arguments. Is there anything like that?</p>
  
Tags: <permissions><menu>
Title: What is the best way to alter menu permission?
ThreadText: # What is the best way to alter menu permission?
  
  (Asked by: username_0 on 2015-10-07)
  
  I need different access argument for "civicrm/group/add"
  For now I found only 2 options: alter Group.xml or with hook\_civicrm\_xmlMenu
  unset Group.xml and use my own file to defined menus.
  But it would be nice just to use some hook to alter access arguments. Is there anything like that?
  
  **Tags:** permissions, menu
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-04-13. Score: 1
  
  Could [hook\_civicrm\_alterMenu](https://docs.civicrm.org/dev/en/master/hooks/hook_civicrm_alterMenu/) be what you need?
  
  
  ---
  
  