CRM-14171: Adding Core infastructure to get permissions from components that are...
[civicrm-core.git] / CRM / Event / Info.php
index 21c7a110dff0201d511cb9fe6ba743a77aab2255..57c8d6828108c831c0d1551fd385f3cabecca114 100644 (file)
@@ -64,6 +64,12 @@ class CRM_Event_Info extends CRM_Core_Component_Info {
     );
   }
 
+  public function getAnonymousPermissionWarnings() {
+    return array(
+      'access CiviEvent',
+    );
+  }
+
   // docs inherited from interface
   public function getUserDashboardElement() {
     return array('name' => ts('Events'),