I feel like this is a good match for ACL<http://book.cakephp.org/2.0/en/core-libraries/components/access-control-lists.html>, you should check it out!
On Tuesday, June 26, 2012 7:44:45 PM UTC+2, Janne Johansson wrote: > > Hello! > > I am pretty much a complete newbie in regards to Cake, so I am looking for > advice on how to best go abpuit the design of an app. > > Basically, I have a structure where i have: > > "Users" that hasMany "Accounts". > "Accounts" hasMany "transactions". > > No magic there... But, I want a model where a User can assign read access > to their "accounts" to another user. And I wonder how to best acheive that > within the framework? > > I thought about a "HABTM" between users and acounts, but that seem a bit > messy? > -- 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
