mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 06:03:20 +00:00
Change Trombi permissions
This commit is contained in:
parent
a0bd5ee8ff
commit
d88ffae51b
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user