Re: ACL and find all

2010-07-23 Thread DCrews
I'm not sure what exactly you're trying to do. What I've done in a situation where I need to determine a user's posts, I define an "owner" field in the posts table in the database. In that case, I can find all where 'owner' => $user_id. If you're setting permissions on individual posts in a separat

Re: ACL and find all

2010-07-23 Thread cricket
On Fri, Jul 23, 2010 at 7:58 AM, marco.rizze...@gmail.com wrote: > Hi > I use ACL to control access to model "Post" made by "User". > Now I have to find all or paginate all posts that are accessible by a > specific user. > How can I use ACL inside find operation to do this? > Many Thanks > Marco

Re: ACL and find all

2010-07-23 Thread marco.rizze...@gmail.com
Have anyone some suggestions about this? On 23 Lug, 13:58, "marco.rizze...@gmail.com" wrote: > Hi > I use ACL to control access to model "Post" made by "User". > Now I have to find all or paginate all posts that are accessible by a > specific user. > How can I use ACL inside find operation to do

ACL and find all

2010-07-23 Thread marco.rizze...@gmail.com
Hi I use ACL to control access to model "Post" made by "User". Now I have to find all or paginate all posts that are accessible by a specific user. How can I use ACL inside find operation to do this? Many Thanks Marco Check out the new CakePHP Questions site http://cakeqs.org and help others with