There are several ways to do that, but usually it is implemented as a plugin to the controller. In large web applications you would use Zend_Acl, but it seems you are doing something simple. A way to do this could be to either to extend the action controller or create a controller plugin.
|