On Sunday, March 18, 2012 4:41:12 AM UTC-7, mohit wrote:
Hi Experts,--
Need some help,
I am in process of learning of Cake PHP. I was creating an app which needs ACL feature.
While reading various docs this is what I have learn. Please correct me if I am wrong
ACL has 2 components, ACO and ARO
Object(ARO) -------- Requests ----- Object(ACO)
Now using the bake tool , i was able to add various tables and aco and aro tables.
I have added 2 groups to ARO
Aro tree:
------------------------------------------------------------ ---
[1] Group.2
[2] Group.3
------------------------------------------------------------ ---
Now i am not able to figure out how to add objects to ACO?
another thing is I am getting the following error, is this due to the fact i have not added any object to ACOWarning (512): AclNode::node() - Couldn't find Aro node identified by "Array ( [Aro0.model] => Group [Aro0.foreign_key] => 1 ) " [CORE\Cake\Model\AclNode.php, line 176]Warning (512): DbAcl::check() - Failed ARO/ACO node lookup in permissions check. Node references: Aro: Array ( [User] => Array ( [id] => 1 [username] => mohit [group_id] => 1 [created] => 2012-03-18 11:02:07 [modified] => 2012-03-18 11:02:07 ) ) Aco: controllers/Pages/display [CORE\Cake\Controller\Component\AclComponent.php , line 303]
Thanks for help.
Regards,
Mohit
--
Best Regards,
Mohit Kumar
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
No comments:
Post a Comment