Sign up Login
home | you | technology | web 2.0 | podcasts | entertainment | photos | comics | videos
 
Latest from Gergely Hodicska
 

Extending Zend_Acl to support custom roles and resources

Thursday, November 29, 2007

Few days ago I played a little with the Zend_Acl package, which provides lightweight and flexible access control list functionality and privileges management. It was very easy to use, but I found that the base Zend_Acl package has some limitation/problem if you want to use it in a bigger real life project. Zend_Acl supports only logical roles, resources so I decided to extend it to allow using custom roles and resources which can represent existing entities (for example users/groups and topics in a database). You will find the full source code and sample sql dump in the end of the post. (more…)

...
Original article from http://feeds.feedburner.com/~r/felho/~3/192441267/extending-zend_acl-to-support-custom-roles-and-resources.html
Login to read full articles and enjoy our free features for members.
« What is new in PHP 5.3 - part 4: __callStatic, OpenID support, user.ini, XSLT profiling and more
»
 

Related articles