projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #15796 from seamuslee001/dev_core_183_requirements
[civicrm-core.git]
/
Civi
/
API
/
Subscriber
/
PermissionCheck.php
diff --git
a/Civi/API/Subscriber/PermissionCheck.php
b/Civi/API/Subscriber/PermissionCheck.php
index bc2f18af6adbf880c98427db836b3d3b49ca06f4..9441800733ce01cd88b1c83877ebd66ee74217ff 100644
(file)
--- a/
Civi/API/Subscriber/PermissionCheck.php
+++ b/
Civi/API/Subscriber/PermissionCheck.php
@@
-26,7
+26,7
@@
class PermissionCheck implements EventSubscriberInterface {
*/
public static function getSubscribedEvents() {
return [
-
Events::AUTHORIZE
=> [
+
'civi.api.authorize'
=> [
['onApiAuthorize', Events::W_LATE],
],
];