News Feed
Sections




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

Refulz.com:
CakePHP AclComponent - ACOs, AROs and Mapping
February 29, 2012 @ 11:38:12

On the Refulz blog they've posted the next in their series about access control in CakePHP applications. In this new article they look at Access Request Objects (AROs) and Access Control Objects (ACOs) and how they can be managed via the built-in ACL functionality.

Continuing with Access Control Lists, we will read about the two Access Control Lists and their mapping. The Access Request Objects (AROs) are a list of the things that seek permissions and the Access Control Objects (ACOs) are the resources on which permissions are required. Both the lists are maintained in the tow tables, namely aros and acos respectively.

Included in the post is the SQL you'll need to create the tables for the system to use as well as some basic code to use the AclComponent with the ACOs/AROs. They also show how to use the parentNode method to create parent/child relationships between the objects.

0 comments voice your opinion now!
cakephp tutorial access control acl aro aco request aclcomponent


blog comments powered by Disqus

Similar Posts

ProDevTips.com: Writing a CMS/Community with Smarty and the Zend Framework: Part 6

Stefan Mischook's Blog: New PHP article in Web Designer Magazine

ThinkPHP Blog: Accessing NTLM secured resources with PHP

DevShed: Using Yahoo! Web Services with PHP 5

DevShed: Checking Boolean Values with Filters in PHP 5


Community Events





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


tool artisanfiles version library security series conference laravel opinion composer symfony language podcast introduction voicesoftheelephpant release interview community list framework

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