Commit 319bb0c2 authored by Skia's avatar Skia

Fix important rights problem in clubs

parent bf38de2d
......@@ -138,7 +138,7 @@ class Club(models.Model):
Method to see if that object can be edited by the given user
"""
ms = self.get_membership_for(user)
if ms is not None:
if ms is not None and ms.role > settings.SITH_MAXIMUM_FREE_ROLE:
return True
return False
......
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