Both my tutorial and the book tutorial are mostly the same, because I wrote both of them..
Chad you are either missing a node for the controller/action or the user. If you make your users from mysql prompt this will definately happen. If you jump ahead on the tutorial and make users before you attach the AclBehavior this will also happen. This tutorial is very unforgiving to those who jump ahead. And not because I'm a jerk who loves torturing people, but because there is _a lot_ of setup that needs to be done before you can start 'doing work'. Go back over the steps, perhaps you missed a step or did it out of order. Also there is a functioning example on my website at the end of part 2. -Mark On Dec 23, 9:08 am, bookme <rarockthewo...@gmail.com> wrote: > A nice tutorial for ACL > ishttp://mark-story.com/posts/view/auth-and-acl-an-end-to-end-tutorial-... > you must be see demo example attach with it > > On Dec 23, 6:43 pm, "Jon Bennett" <jmbenn...@gmail.com> wrote: > > > > Warning (512): DbAcl::check() - Failed ARO/ACO node lookup in > > > permissions check. Node references: > > > Aro: Array > > > ( > > > [User] => Array > > > ( > > > [id] => 1 > > > [username] => ad...@mb.com > > > [group_id] => 1 > > > [created] => 2008-12-22 21:39:48 > > > [modified] => 2008-12-22 21:39:48 > > > ) > > > > ) > > > > Aco: Posts/add [CORE/cake/libs/controller/components/acl.php, line > > > 239] > > > You have most likely added the 'posts>add' method after you last ran > > buildAcl, you have to call that again each time you add new methods. > > >http://book.cakephp.org/view/647/An-Automated-tool-for-creating-ACOs > > > cheers, > > > jon > > > -- > > > jon bennett > > w:http://www.jben.net/ > > iChat (AIM): jbendotnet Skype: jon-bennett --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---