News Feed
Sections




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

Rob Allen:
Integrating BjyAuthorize with ZendNavigation
November 20, 2012 @ 13:57:09

Rob Allen has posted a technique for integrating the BjyAuthorize, a helpful module for access control in your Zend Framework 2 application, with the ZendNavigation module for user permissions-based navigation updates.

If you are using BjyAuthorize for ACL configuration and want to use ZendNavigation's ZendAcl integration features, then you need to set the Acl and Role information into ZendNavigation.

He includes the code you'll need to add to both the bootstrap of your application and the configuration to set up the "rule_providers" and "resource_providers". Then you can update your navigation settings to include "resource" and "rule" options to define with options a user can see.

0 comments voice your opinion now!
zendframework2 tutorial bjyauthorize acl navigation module


blog comments powered by Disqus

Similar Posts

Inviqa techPortal: Profiling PHP Applications with XHGui

Elizabeth Smith's Blog: How to Compile PHP5.2 and PHP-GTK2 on Windows using Visual C++ Express

Abhinav Singh's Blog: How to use locks for assuring atomic operation in Memcached?

The Bakery - Rails-Like Validation, Elistic, Textile, and a CakePHP Release

php|architect: The Magic __set_state Method


Community Events





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


interview refactor laravel install unittest api community language list release threedevsandamaybe developer opinion podcast testing wordpress code series framework introduction

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