Re: ACO Numeric Alias not working for ACL->allow

2007-10-19 Thread uolax
So here was my solution. Because it is a numeric value, I need to set the foreign_id to exactly match the alias. I then setParent to a permission group and all works great. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

Re: ACO Numeric Alias not working for ACL->allow

2007-10-19 Thread uolax
It seems to be throwing an error here: $obj['Aro'] = $Aro->find($Aro->_resolveID($aro)); on line 277 of db_acl.php. The numeric value is discarded. Hmm --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake P

ACO Numeric Alias not working for ACL->allow

2007-10-19 Thread uolax
Hey All, Has anyone experienced any bugs using ACL when the ARO alias is purely numeric? When I use $this->Acl->allow('380010', 'courses/add'); I get a node error: Warning: DB_ACL::allow() - Invalid node in... but when I use $this->Acl->allow('a380010', 'courses/add'); all works out okay. Shoul