That's almost all that I need myself, I think.
I want to put my Auth & ACL within a single preDispatch, so I don't have to repeat it for all my controllers.
The problem I ran into was how to redirect to the login form when either fails (user isn't logged in or user does not have permission).
Using
Code:
$request->setControllerName('controllername')
appears to mostly work, but...
1. How can I pass a $_GET variable as well (/controller/action?var=something)?
2. How can I have the rest of my preDispatch skipped? Just use
?