Re: ACL warning while update user data
Hi, you have probably not added an ARO with 'model' => 'Group' and
'foreign_key' => 3.
$aro = new Aro();
$aro->create(array('parent_id' => null, 'alias' => 'groups'));
$aro->save();
$aro->create(array('model' => 'Group', 'foreign_key' => 1, 'parent_id'
=> 1, 'alias' => 'Banned'));
$aro->save();
For an example.
On Mar 24, 9:44 pm, baur79 <bau...@gmail.com> wrote:
> Hi,
>
> i have weird warning in 2.1
> while i try to function change password for user
> current user already belong to Group.3
>
> there is no problem with logging, (ACL working fine)
>
> AclNode::node() - Couldn't find Aco node identified by "Array (
> [Aco0.model] => Group
> [Aco0.foreign_key] => 3
> )
> "
> Error: An Internal Error Has Occurred.
>
> Stack Trace
> CORE\Cake\Model\Behavior\AclBehavior.php line 88 → AclNode->node(array)
> CORE\Cake\Model\Behavior\AclBehavior.php line 106 → AclBehavior->node(User,
> array, string)
--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home