projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CRM-14171: Adding Core infastructure to get permissions from components that are...
[civicrm-core.git]
/
CRM
/
Event
/
Info.php
diff --git
a/CRM/Event/Info.php
b/CRM/Event/Info.php
index 21c7a110dff0201d511cb9fe6ba743a77aab2255..57c8d6828108c831c0d1551fd385f3cabecca114 100644
(file)
--- a/
CRM/Event/Info.php
+++ b/
CRM/Event/Info.php
@@
-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'),