adapt tests to new club roles framework

This commit is contained in:
imperosol
2025-09-28 11:52:08 +02:00
parent 124980dfcb
commit 31cd61c1d7
20 changed files with 250 additions and 108 deletions
+1 -1
View File
@@ -183,7 +183,7 @@ class Forum(models.Model):
Forum._club_memberships[self.id] = {}
Forum._club_memberships[self.id][user.id] = m
if m:
return m.role > settings.SITH_MAXIMUM_FREE_ROLE
return m.role.is_board
return False
def check_loop(self):