remove followers group visibility test

Also updates description of group.followers_filter() override
This commit is contained in:
Hugh Rundle
2021-10-22 18:42:18 +11:00
parent 19c7e43f50
commit bd20c9ce2c
2 changed files with 1 additions and 10 deletions

View File

@ -23,7 +23,7 @@ class Group(BookWyrmModel):
@classmethod
def followers_filter(cls, queryset, viewer):
"""Override filter for "followers" privacy level to allow non-following
group members to see the existence of groups and group lists"""
group members to see the existence of group-curated lists"""
return queryset.exclude(
~Q( # user is not a group member