Skip to content
Snippets Groups Projects
Commit 742b6a7d authored by jitendra's avatar jitendra
Browse files

#1517 - Permission error on event info page for anonymous users

parent 64c87314
No related branches found
No related tags found
No related merge requests found
......@@ -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));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment