I have went through that entire tutorial. I think the issue is coming
from when I have changed the "user" model and controller to "account"
as the name.

http://api20.cakephp.org/class/auth-component
$this->Auth->authenticate = array(
        'Form' => array(
            'userModel' => 'Users.User'
        )
    );

The api shows how you can use a different model to authenticate users.
Does this not hold true for after you login? On cake 1.3 you could
define $this->Auth->userModel = "account" and it would change for the
entire component.

On Nov 8, 5:08 pm, Jon Bennett <[email protected]> wrote:
> > Has anybody seen any good tutorials for group based permission under
> > ACL with cakephp 2.0? I have been trying to get my code to work, but I
> > appear to be doing something wrong.
>
> http://book.cakephp.org/2.0/en/tutorials-and-examples/simple-acl-cont...

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to