mirror of
https://github.com/ae-utbm/sith.git
synced 2026-03-22 11:35:06 +00:00
adapt tests to new club roles framework
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user