PermissionCheck
class PermissionCheck implements EventSubscriberInterface
For any API requests that correspond to a Doctrine entity ($apiRequest['doctrineClass']), check permissions specified in Civi\API\Annotation\Permission.
Methods
static array
getSubscribedEvents()
No description
bool
checkACLPermission(array $apiRequest)
Check API for ACL permission.
Details
at line 43
static array
getSubscribedEvents()
at line 57
onApiAuthorize(AuthorizeEvent $event)
at line 109
bool
checkACLPermission(array $apiRequest)
Check API for ACL permission.