[Solar-talk] Intercepting controllers in _setup()

Andreas Ravnestad andreas.ravnestad at gmail.com
Sat Jun 16 09:46:39 PDT 2007


Hi,

I have a rather complex per-controller authorization scheme, and to 
enforce it on controllers I am overriding _setup() and then attempt to 
use _forward() to forward to an action which is supposed to display an 
error page if the user is not authorized. However, even though the 
forwarding works fine and the error action is executed, the "original" 
action is still executed and the related view is displayed!

I might be on the wrong track here, so any suggestions will be 
appreciated! :)

-AR


More information about the solar-talk mailing list