Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Zend Developer Zone:
Zend_Acl and MVC Integration Part II (Advanced Use)
Jul 16, 2008 @ 14:51:56

The Zend Developer Zone has posted part two of Aldemar Bernal's in-depth look at using the Zend_Acl component of the Zend Framework to manage the access control for your application.

In part one we saw how to setup our Zend_Acl instance and how to attach it to the MVC environment (by using the Front Controller Plugin), but what about setting another action for the denied access, or how does an article be edited only by its owner?, this, and some more is what we are going to see in the following examples.

This second part is broken up into a few parts:

  • Using Modules
  • Using Roles
  • Setting the denied error action
  • Using the action helper

These two tutorials are based on this proposal for the integration of Zend_Acl into the current framework is currently pending.

tagged: tutorial zendframework zendacl mvc integration acl

Link: