Hello. I have create an application with CakePHP that uses the ACL.
In my database I have this data: AROS: ========================================================================= |__ID__|__PARENT_ID__|__MODEL____|__FOREIGN_KEY__| __ALIAS______________|_lft__|_rght_| ========================================================================= |__1___|__null_________|__Group______|__1______________| __Administrators_______|__1__|__4__| |__2___|__1___________|__User_______|__1______________| __admin______________|__2__|__3__| |__3___|__null_________|__Group______|__2______________| __Accountants________ |__5__|__6__| |__4___|__null_________|__Group______|__3______________|__Database Admins____`|__7__|__8__| |__5___|__null_________|__Group______|__4______________| __Translators__________|__9__|__14_| |__6___|__5___________|__User_______|__2______________| __engtrans____________|__10_|__11_| |__7___|__5___________|__User_______|__3______________| __esptrans____________|__12_|__13_| ========================================================================= ACOS ========================================================================= |__ID__|__PARENT_ID__|__MODEL____|__FOREIGN_KEY__| __ALIAS______________|_lft__|_rght_| ========================================================================= |__1___|__null_________|__null________|__null____________| __controllers__________|__1__|__4__| |__2___|__1___________|__null________|__null____________| __Groups____________ |__2__|__3__| |__3___|__null_________|__null________|__null____________| __Users______________|__5__|__6__| ========================================================================= AROS_ACOS ==================================================================== |__ID__|__ARO_ID__|__ACO_ID__|___CREATE__|___READ__|___UPDATE__| ___DELETE__| ==================================================================== |__1__|__1________|__1________|__1_________|__1_______|__1_________| __1__________| ==================================================================== and then in my Site I do that $aco = ''controllers"; $aro = 1; $this->AccessControll->getPermission($aco, $aros); and I get this error : Warning (512): DbAcl::check() - Failed ARO/ACO node lookup in permissions check. Node references: Aro: 1 Aco: controllers [CORE\cake\libs\controller\components\acl.php, line 275] [Warning -> code] if (empty($aroPath) || empty($acoPath)) { trigger_error(__("DbAcl::check() - Failed ARO/ACO node lookup in permissions check. Node references:\nAro: ", true) . print_r($aro, true) . "\nAco: " . print_r($aco, true), E_USER_WARNING); [Warning -> context] $aro = "1" $aco = "controllers" $action = "create" $permKeys = array( "_create", "_read", "_update", "_delete" ) $aroPath = false $acoPath = array( array( "Aco" => array() ) ) 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