The schema of the database: users ( id int primary key auto_increment, username varchar(255), password varchar(255) )
posts ( id int primary key auto_increment, title varchar(255), content text, user_id int ) Is there any way to setup that kind of permission with just ACL and Auth Component? I search around and find 2 solution: put some logical in beforeFilter and insert a new node in acos when inserting new post. I tried both. It worked. But is there any way to setup ACL db and make components do that for me automatically? So that we can use the tree structure of acos table more efficiently. 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
