group members can see lists
- fix visible_to_user for group objects (like lists) - temporarily disable privacy_filter on group lists
This commit is contained in:
parent
8496f24032
commit
8708d71f4b
2 changed files with 3 additions and 3 deletions
|
@ -26,7 +26,7 @@ class Group(View):
|
|||
|
||||
group = get_object_or_404(models.Group, id=group_id)
|
||||
lists = models.List.objects.filter(group=group).order_by("-updated_date")
|
||||
lists = privacy_filter(request.user, lists)
|
||||
# lists = privacy_filter(request.user, lists)
|
||||
|
||||
# don't show groups to users who shouldn't see them
|
||||
if not group.visible_to_user(request.user):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue