Hi guys,

I'm just starting with cakePHP so don't shoot me if this is a stupid
question :)

I'm setting up a login system using ACL and Auth and have a table with
users, groups and then the acos, aros and aro_acos tables.
The ARO objects refer to the groups (so the aro records have a foreign
key to a group and the model is 'Group')

If I want to test my permissions I get following error:

Warning (512): AclNode::node() - Couldn't find Aro node identified by
"Array
(
    [Aro0.model] => User
    [Aro0.foreign_key] => 4
)
" [CORE/cake/libs/model/db_acl.php, line 191]

Warning (512): DbAcl::check() - Failed ARO/ACO node lookup in
permissions check.  Node references:
Aro: Array
(
    [User] => Array
        (
            [id] => 4
            [username] => Jerre
            [active] => 1
            [group_id] => 4
            [created] => 0000-00-00 00:00:00
            [modified] => 0000-00-00 00:00:00
        )

)

So it looks like it want's to authenticate the user in stead of the
group, any ideas what I might be missing here?

Thanks

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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