In cakephp 2 -> Acl -> creation of aros table.
What does it mean the right and left numbers ?
ThAnKs.
In cakephp 2 -> Acl -> creation of aros table.
What does it mean the right and left numbers ?
ThAnKs.
The lft and rght values are an inherent part of the tree structure (it's a Modified Pre-Order Traversal Tree if you're interested). Without them, there is no tree structure.
The Acl system can be used to repair a damaged tree based on the parent_id fields, but without the full left and right stuff, it just won't be able to do aco or aro lookups, which is pretty fundamental.
I would recommend using the Acl behavior, which implies the Tree behavior too, as a means of editing these values and having the MPTT stuff handled for you.