You can do that, cut off all the photo functionality from views (show method of user, photos)
For convenience you can add user_type to user model , this will have value "group" for group. Based on this user.user_type you can decide what functionality should be provided. Or write a :before_filter , like - "usertype_user_required" in that filter you can check for user_type. On Thu, Nov 20, 2008 at 9:32 AM, Levi Rosol <[EMAIL PROTECTED]> wrote: > Will that allow a User and a Group to have different functionality if > required? for example, lets say you didn't want a group to have a Photo > Gallery. > > Levi Rosol > > > > > On Wed, Nov 19, 2008 at 9:54 PM, sachin kale <[EMAIL PROTECTED]>wrote: > >> I have implemented projecting a group as a 'user' >> You can have a seperate model for relationship between group and >> subscribers -> membership, which has group_id(i.e user_id projected as >> group) and user_id(subscriber to the group) >> This way we can have all the features for the group that are available to >> user. >> like group blog/photos/comments/home-page etc. >> >> >> >> On Thu, Nov 20, 2008 at 8:57 AM, Levi Rosol <[EMAIL PROTECTED]> wrote: >> >>> >>> So one of the next steps I need to take with CE is to implement some >>> sort of Group functionality. The idea is that any user can create a >>> Group. A Group will have nearly all of the same functionality that a >>> User has in terms of a profile, comments, photos, friends (but called >>> members), etc.. >>> >>> What are your thoughts on the best way to approach building this? I >>> think because of how tightly everything is tied to the existing User, >>> the only route to go with this is to create a new model from scratch >>> and do a lot of copy/pasting to bring over the existing User >>> functionality. >>> >>> Got a better way? Cause this doesn't seem very DRY. >>> >>> >>> >> >> >> -- >> Sachin Kale >> >> >> >> >> >> > > > > -- Sachin Kale --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CommunityEngine" 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/communityengine?hl=en -~----------~----~----~----~------~----~------~--~---
