Can someone help me about this? Many Thanks On Thursday, 31 January 2013 17:30:37 UTC+1, byqsri wrote: > > Hi > I have these Model : > User (User belongsTo Group) > Group (Group hasMany User) > Document > > I manage permissions to access to documents with ACL (User and Group like > Aro and Document like Aco) > > Now I have two questions : > > 1)How can I retrive all documents that a user can access and how can I > paginate them? > > 2)How can I retrive all users that can access to a certainly document and > how can I paginate them? > > I would find best solutions about these questions (i.e. cn the lowest > number of not heavy queries) > > Many Thnaks >
-- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en. For more options, visit https://groups.google.com/groups/opt_out.