Details
-
Type: Bug
-
Status: Reopened
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 4.6.2
-
Fix Version/s: Unscheduled
-
Component/s: None
-
Labels:None
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
Description
When a user only has the 'access CiviEvent' permission but not the' CiviEvent: view event participants' the event management pages are actually unusable.
No events are shown on the manage/event page.
And some warnings are shown see:
Warnings shown:
Strict warning: Only variables should be assigned by reference in CRM_Event_BAO_Event::checkPermission() (line 2032 of /sites/all/modules/civicrm/CRM/Event/BAO/Event.php).
Strict warning: Only variables should be assigned by reference in CRM_Event_BAO_Event::checkPermission() (line 2047 of sites/all/modules/civicrm/CRM/Event/BAO/Event.php).
Warning: in_array() expects parameter 2 to be array, null given in CRM_Event_Page_ManageEvent->browse() (line 320 of sites/all/modules/civicrm/CRM/Event/Page/ManageEvent.php).
It seems those permission are mangled together oa in the CRM_Event_BAO_Event::checkPermission();