Latest from Gergely Hodicska
- Extending Zend_Acl to support custom roles and resources
- What is new in PHP 5.3 - part 4: __callStatic, OpenID support, user.ini, XSLT profiling and more
- What is new in PHP 5.3 - part 3: mysqlnd
- What is new in PHP 5.3 - part 2: late static binding
- What’s new in PHP 5.3 - part 1: namespaces
- International PHP Conference 2007 Megapost
- WordPress quicktag toolbar tweaking again
- Hungarian unicode qwerty keyboard layout
- Fixing some problems in Template Lite
- How to use Smarty resources
- Posting source code in WordPress: escaping and syntax highlighting the inserted code
Extending Zend_Acl to support custom roles and resources
Thursday, November 29, 2007Few 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.
Related articles
feedraider "We Eat Internets" v2.0 a LAMP production by Jussi Vaihia
© 2006-2009 |
about |
blog |
help