Hi, I wrote a listener that checks the ACL for the current user to forward to a forbidden page when the rights are insufficient. This works perfectly but now I have a problem.
If the routing matches a route but controller or action does not exist these 404 errors are not shown. This is due to the ACL check which uses controller as resource and action as privilege. This check fails because the wrong controller is not set as a ACL resource or the wrong action is not set as a ACL privilege. So I get a forward to the forbidden page. Any dispatching errors for missing controller or action can not be thrown any more. But since these dispatching errors are only thrown while dispatching I cannot add my ACL check there. Can someone follow this problem and provide me with a solution? Regards, Ralf -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
