Wednesday, December 31, 2008

DbAcl::allow() - Invalid node

Hi,

I have an ACO object with alias "users/apanel_list" and a "admin" ARO
object in the DB.

When I issue $this->Acl->allow("admin", "users/apanel_list") I get the
following error -
DbAcl::allow() - Invalid node [CORE\cake\libs\controller\components
\acl.php, line 325]
The issue seem to be coming from ACO side.

I debugged through the code and the offending line was $obj['Aco'] =
$this->Aco->node($aco); in the getAclLink() function of the acl.php
core component file.

Any help would be appreciated.
--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: