CRM-10935 - CRM/Core/xml/Menu/Contact.xml - Fix malformed permissions
authorTim Otten <totten@civicrm.org>
Thu, 8 Aug 2013 23:48:50 +0000 (16:48 -0700)
committerTim Otten <totten@civicrm.org>
Thu, 8 Aug 2013 23:48:50 +0000 (16:48 -0700)
----------------------------------------
* CRM-10935: Create new Core Permission - CiviCRM: Access own Contact or both "CiviCRM: View own Contact"  and "CiviCRM: Edit own Contact"
  http://issues.civicrm.org/jira/browse/CRM-10935

CRM/Core/xml/Menu/Contact.xml

index 9bea674a99bc7d9f4ea17cca09f7d14267088fee..ce54ca8d42e3d755cc1ce6abbf377f83d738ca37 100644 (file)
@@ -81,9 +81,7 @@
      <path>civicrm/contact/add</path>
      <title>New Contact</title>
      <access_callback>CRM_Core_Permission::checkMenu</access_callback>
-     <access_arguments>access CiviCRM</access_arguments>
-     <access_arguments>edit my contact</access_arguments>
-     <access_arguments>view my contact</access_arguments>
+     <access_arguments>access CiviCRM;edit my contact;view my contact</access_arguments>
      <page_callback>CRM_Contact_Form_Contact</page_callback>
      <page_arguments>addSequence=1</page_arguments>
   </item>
      <path_arguments>cid=%%cid%%</path_arguments>
      <title>Contact Summary</title>
      <access_callback>CRM_Core_Permission::checkMenu</access_callback>
-     <access_arguments>access CiviCRM</access_arguments>
-     <access_arguments>edit my contact</access_arguments>
-     <access_arguments>view my contact</access_arguments>
+     <access_arguments>access CiviCRM;edit my contact;view my contact</access_arguments>
      <page_callback>CRM_Contact_Page_View_Summary</page_callback>
   </item>
   <item>