From: Jitendra Purohit Date: Fri, 10 Jan 2020 04:06:15 +0000 (+0530) Subject: dev/core#1517 - Permission error on event info page for anonymous users X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=742b6a7d99c35cca1c1fd91ddc817edd8aad36a2;p=civicrm-core.git dev/core#1517 - Permission error on event info page for anonymous users --- diff --git a/CRM/Event/Page/EventInfo.php b/CRM/Event/Page/EventInfo.php index c2410b7670..664105fabe 100644 --- a/CRM/Event/Page/EventInfo.php +++ b/CRM/Event/Page/EventInfo.php @@ -338,7 +338,7 @@ class CRM_Event_Page_EventInfo extends CRM_Core_Page { } $this->assign('location', $values['location']); - if (CRM_Core_Permission::check('access CiviEvent')) { + if (CRM_Core_Permission::check(['access CiviEvent', 'edit all events'])) { $enableCart = Civi::settings()->get('enable_cart'); $this->assign('manageEventLinks', CRM_Event_Page_ManageEvent::tabs($enableCart)); }