Commit a4abf50d authored by Skia's avatar Skia

Allow former subscribers to see user profiles

parent a4984317
......@@ -402,7 +402,7 @@ class User(AbstractBaseUser):
return user.is_in_group(settings.SITH_MAIN_BOARD_GROUP) or user.is_root
def can_be_viewed_by(self, user):
return (user.is_in_group(settings.SITH_MAIN_MEMBERS_GROUP) and self.is_subscriber_viewable) or user.is_root
return (user.was_subscribed() and self.is_subscriber_viewable) or user.is_root
def get_mini_item(self):
return """
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment