Hi all,

When I try to use

$this->Acl->allow($aro['Aro']['id'],$aco['Aco']['id'], $actions);

I get this error: Warning (512): DB_ACL::allow() - Invalid node [CORE/
cake/libs/controller/components/acl.php, line 362]

But these Aro and Aco DO exist. Well then i thought I have to do it
like Acl::check without aliases:

$this->Acl->allow( array( 'model '=> $aco['Aro']['model'],
'foreign_key' => $aco['Aro']['foreign_key']), $aco['Aco']['model'],
$actions);

But now i get an even weirder error:

Missing Database Table
Error: Database table lms_models for model model was not found.

What am i doing wrong here?

Greetings, Nils
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to