change group owner from 'manager' to 'user'
This will allow privacy management to use existing code. Some template updates also are for rationalising how groups are created and edited.
This commit is contained in:
@ -76,6 +76,10 @@ class BookWyrmModel(models.Model):
|
||||
and self.mention_users.filter(id=viewer.id).first()
|
||||
):
|
||||
return True
|
||||
|
||||
# TODO: if privacy is direct and the object is a group and viewer is a member of the group
|
||||
# then return True
|
||||
|
||||
return False
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user