class AclListener extends Plugin

ACL provider

Methods

beforeDispatch(Event $event, Dispatcher $dispatcher)

Listens for the 'beforeDispatch' event and checks action against the ACL. Based on priority, this will always run AFTER the key check

returnInvalid()

Output a 403 Forbidden response and proper JSON encoded error message

Details

at line line 25
beforeDispatch(Event $event, Dispatcher $dispatcher)

Listens for the 'beforeDispatch' event and checks action against the ACL. Based on priority, this will always run AFTER the key check

Will return output and exit program execution on error

Parameters

Event $event
Dispatcher $dispatcher

at line line 73
returnInvalid()

Output a 403 Forbidden response and proper JSON encoded error message