News Feed
Sections




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

Gergely Hodicska's Blog:
Extending Zend_Acl to support custom roles and resources
November 30, 2007 @ 07:56:00

Gergely Hodicska has posted about some hacking he's down with the Zend_Acl package in the Zend Framework to make support for custom roles and resources.

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)

He talks some about the package and its current functionality, including the limitations he ran up against. He came up with a structure for what he wanted (seen here) and set out to extend the class, making an interface and implementing it with his own loading method.

His source code can be downloaded here.

0 comments voice your opinion now!
zendframework zendacl access control implement extend zendframework zendacl access control implement extend


blog comments powered by Disqus

Similar Posts

David Coaller's Blog: Namespaces part 1.2: Namespaces

Padraic Brady's Blog: Services_Oauth and Zend_Oauth Revisited

Raphael Stolt's Blog: Scaffolding, implementing & using project specific Zend_Tool_Project_Provider

Developer.com: Build Multi-lingual Websites With the Zend Framework

Hari KT's Blog: A simple Blog using Zend framework 1.9


Community Events





Don't see your event here?
Let us know!


introduction laravel opinion library tips api series deployment podcast language interview bugfix developer symfony framework threedevsandamaybe list release zendserver community

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework