allow ppl to see first page of carp and frozen

master
Aevann 2024-07-24 18:06:06 +03:00
parent 411c817c58
commit 4fbf34e119
1 changed files with 1 additions and 1 deletions

View File

@ -1006,7 +1006,7 @@ class User(Base):
if not self.is_private: return True
if not user: return False
if self.id == user.id: return True
if SITE_NAME == 'rDrama' and self.id in {CARP_ID, 1376}: return False
if SITE_NAME == 'rDrama' and self.id in {CARP_ID, 1376} and request.values.get('page', 0) > 1: return False
return user.admin_level >= PERMS['VIEW_PRIVATE_PROFILES'] or user.eye
@property