I agree w/ Brian. On my site, I have all my user preferences stored in my profiles table.
On May 10, 1:57 pm, brian <[email protected]> wrote: > On Sun, May 10, 2009 at 1:33 PM, park <[email protected]> wrote: > > > On an social site, users may change preferences on whether their > > profiles are open for strangers, or whether their actions are posted > > to the newsfeed section. > > > In cake, what's the best practice for implementing this functionality? > > > Will ACL work well on this? Or is there any other solutions? > > I don't think this would be a good use of ACL. If a user's profile is > either open to all or to none, it'd be simpler to set a flag in the > model (thus, table). > > And the newsfeed pref doesn't really square with ACL at all. Again, > just set a flag in the User (or Profile) table. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
