I don't see why this has to get any more complex than what Teddy suggested? I have always stayed well clear of ACL as it was too complex for me to implement when first learning CakePHP and I've never needed more than standard Auth and User Groups in the many CakePHP sites I have developed since.
@Thomas: I have however bookmarked that RMAC plugin for further reading - maybe I should go back and look at ACL some time too. HTH, Paul On Sep 21, 12:05 pm, Thomas Ploch <[email protected]> wrote: > Taking that you are new to CakePHP this might be a bit too hard to > digest, but I recommend at least reading this article: > > http://jmcneese.wordpress.com/2009/04/19/rmac-ftw-part-1/http://jmcneese.wordpress.com/2010/01/28/rmac-is-dead-long-live-rmac/ > > This is implementing UNIX-style permissions for Model access, which is > basically what you want. > > Kind regards > Thomas > > Am 21.09.2011 11:28, schrieb elogic: > > > > > > > > > Is there any quick / better way to use Auth to limit the results based > > on the users login details or is it just a matter of using if/else > > statments to get what you want. > > > For example, I have a list of products which all have a group id > > assigned to them. Each user also has a group id. When the user is > > logged in they are to only show the products that matches their group > > id. > > > I'm only new to cakephp and still do not know all the tricks or short > > cuts for things like this. > > > Thankyou -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
