From a4abf50d18ea4b0670a044b03999fe9c817b5181 Mon Sep 17 00:00:00 2001 From: Skia Date: Wed, 22 Feb 2017 23:53:49 +0100 Subject: [PATCH] Allow former subscribers to see user profiles --- core/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/models.py b/core/models.py index 8a892730..ab94536c 100644 --- a/core/models.py +++ b/core/models.py @@ -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 """