ParentNode function for ACL management – Cakephp.
Context : Cakephp version 1.3
Bake the MVCs (Models, views, controllers)
If you don’t have your Models, Views and Controllers for each of your SQL tables, you will have to BAKE !
To do so, please read the previous page : Create the MVCs with Cakephp of this blog.
To manage the groups and users with the ACL management, you will have to add some functions in your users.php and groups.php models.
Please find below the code to copy them directly in your model files…