Ziafazal/users in workgroup

Add is_private field to workgroup model to support MCKIN-1414 and added new api to list workgroups of user with course_id filter to support MCKIN-1425.
@mattdrayer Please review.
we could move the is_private flag to the Project model, if that makes more
sense -- it would need to be controlled via the client admin UI


On Fri, Jun 13, 2014 at 9:05 AM, Martyn James <notifications@github.com>
wrote:

> In lms/djangoapps/projects/models.py:
>
> > @@ -30,6 +30,7 @@ class Workgroup(TimeStampedModel):
> >      project = models.ForeignKey(Project, related_name="workgroups")
> >      users = models.ManyToManyField(User, related_name="workgroups", blank=True, null=True)
> >      groups = models.ManyToManyField(Group, related_name="workgroups", blank=True, null=True)
> > +    is_private = models.BooleanField(default=True)
>
> Yes, I'd say False for the default; but really it's the project that is
> private so I'm not sure that this field even belongs here. Of course,
> without editing studio there is now easy way to set this, so perhaps this
> is how it has to work for now?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/edx-solutions/edx-platform/pull/83/files#r13749096>.
>



-- 
Matthew Drayer
Solutions Architect
edX | MIT
mattdrayer@edx.org