News Feed
Jobs Feed
Sections



Recent Jobs

News Archive
NETTUTS.com:
How to Use CakePHP's Access Control Lists
July 30, 2010 @ 15:13:20

On NETTUTS.com today there's a new detailed tutorial on how to use the access control list functionality that comes with the CakePHP framework.

If you're building a CMS, you'll probably need different user roles'"superusers, admins, users - with different permission levels. Too complicated to code? Enter CakePHP's ACL (Access Control Lists). With the right setup, you'll be checking user permissions with just one line.

They talk about what "access control lists" are but shows you an example of one including the database tables and the full scripts for the Users controller, a model to hook into the database and the view for output to the user. They include methods for denying access, checking permissions, and modifying a user's permissions.

0 comments voice your opinion now!
cakephp framework acl accesscontrollist permissions



Similar Posts

Manoj Sachwani's Blog: PHP Frameworks : First glimpse for beginners

Andi Gutmans\' Blog: Zend Framework surpassed the .NET Framework!

The Show: Guest Host: Rafael Bandeira (CakePHP Podcast)

Paul Jones' Blog: How Fast Is Your Framework?

Daniel Hofstetter's Blog: How to update multiple divs with Ajax


Community Events

phpnw10 PHP Conference 09/10/2010




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


database phpunit symfony development podcast wordpress application developer opinion azure framework book tool example plugin conference zendframework codeigniter unittest suggestion

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