Alex Tech Adventures The webs best tutorials!

ACL dynamic assertions

(0 votes, average 0 out of 5)
Assertions allow fine grained access control not only based on module/controller/action combination but on unlimited set of critier, most common one, the author of a certain resource such as a blog comment or a forum thread. See how Zend_Acl helps us accomplish a per-user based set of permissions.



Key notes in the presentation:

This will work only in 1.9.1 or greater

  • Look at how dynamic assertion classes work together in Zend_Acl.
  • Create classes for roles and resources that implement their respective interfaces.
  • Adjusting model to generate data only allowed by the dynamic assertion.
  • Adjusting ACL model class so that it can call necessery classes after MVC structure is set up.

Download source

Zend Framework API

Last Updated ( Thursday, 17 December 2009 02:51 )  
You need to login or register to post comments.
Discuss...
You are here: Home Development Zend Framework ACL dynamic assertions

Statistics

Members : 657
Content : 42
Web Links : 1
Content View Hits : 88231

Poll

Interested in TinyBrowser and TinyMce plugin for ZF?
 

Who's Online

We have 65 guests and 1 member online