subscription
This commit is contained in:
parent
9f5e58b0c9
commit
786a2d59bd
7 changed files with 129 additions and 83 deletions
|
|
@ -24,7 +24,7 @@ class Timeline(models.Model):
|
|||
|
||||
def editable(self, user):
|
||||
#FIXME: make permissions work
|
||||
if self.user == user or user.has_perm('Ox.admin'):
|
||||
if self.user == user or user.is_staff:
|
||||
return True
|
||||
return False
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue