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.

I have renamed Users -> Accounts and don't have "id" as my primary key
but rather "acct_id" which might be throwing it off.

Notice (8): Undefined index:  id [CORE/Cake/Model/AclNode.php, line
143]
Warning (512): AclNode::node() - Couldn't find Aro node identified by
"Array
(
    [Aro0.model] => User
    [Aro0.foreign_key] =>
)
" [CORE/Cake/Model/AclNode.php, line 179]
Warning (512): DbAcl::check() - Failed ARO/ACO node lookup in
permissions check.  Node references:
Aro: Array
(
    [User] => Array
        (
            [acct_id] => 1
            [acct_username] => sixthpoint
            [acct_email] => [email protected]
            [acct_group_id] => 3
            [acct_created] =>
            [acct_modified] =>
            [acct_last_login] => 0000-00-00 00:00:00
            [acct_active] => 1
        )

)

Aco: controllers/Accounts/index [CORE/Cake/Controller/Component/
AclComponent.php, line 303]

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