Commit d88ffae5 authored by Skia's avatar Skia

Change Trombi permissions

parent a0bd5ee8
Pipeline #980 passed with stage
in 4 minutes and 54 seconds
......@@ -74,9 +74,6 @@ class Trombi(models.Model):
return reverse('trombi:detail', kwargs={'trombi_id': self.id})
def is_owned_by(self, user):
return user.is_owner(self.club)
def can_be_edited_by(self, user):
return user.can_edit(self.club)
def can_be_viewed_by(self, user):
......
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