Sorry about that Andy,

I found out why initDB() on the ACL tutorial didn't work.. I was running it
from the app_controller.php instead of the users_controller.php.

Anyways, I still haven't figured out how to use the console acl commands.

Cheers!

Rick Ong
Azure Web Design
Mobile: +63-928-5542750
YM: zotium
Skype: zotium1


On Fri, Aug 14, 2009 at 2:18 PM, Andy Dawson <andydawso...@gmail.com> wrote:

> You've accidentally sent your google group post only to me.
>
> 2009/8/14 zotium <zot...@gmail.com>
>
>> Hi AD7six,
>>
>> I'm having the same problem. I followed the tutorial exactly and
>> couldn't set the permissions.
>>
>> Whether I use the initDB() script that is included or the command line
>> "cake acl grant 1 1 '*'" I keep getting the error "Warning:
>> DbAcl::allow() - Invalid node"
>>
>> Perhaps there must be something wrong with my Cake 1.2.4.8284
>> installation or the tutorial isn't updated to the latest version? Any
>> ideas?
>>
>> On Feb 16, 7:35 pm, AD7six <andydawso...@gmail.com> wrote:
>> > On Feb 16, 11:06 am, Affinity <goo...@affinitywebsolutions.co.uk>
>> > wrote:
>> >
>> > > Just to update this post... I just could not get the ACL to work even
>> > > following all tutorials, I think they must miss a few things somewhere
>> > > that newbies will overlook.
>> >
>> > Your first and possibly only stop should have been the book (http://
>> > book.cakephp.org).
>> >
>> > You should recognise though that you need to know now to use/code
>> > CakePHP (the console, MVC basics) before embarking on trying to use
>> > ACL.
>> >
>> > For example, it should not need stating that public controller actions
>> > are triggered via the browser.
>> >
>> > AD
>
>
>
>
> --
> www.ad7six.com
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to