Thursday, February 25, 2010

Different logic and view for each group

Lets say that in an application we have two groups: buyers and
sellers. (In an ACL setup like the cookbook example tutorial).
When the seller add a product, he can see all comments posted by
potential buyers and add images thru the product url (/product/28)
When the seller gives his product url to a potential buyer, he can see
just his comments and of course can't add images.
What's the best approach to do that?
I hope I explained well what I want to know.
Regards,

Lobosque.

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: