return layer editable flag
This commit is contained in:
parent
d8aeac1e8c
commit
6b72d7b9e8
1 changed files with 2 additions and 0 deletions
|
@ -186,6 +186,8 @@ class Annotation(models.Model):
|
|||
'volume': 'clip__volume',
|
||||
}.get(key, key))
|
||||
j['duration'] = j['out'] - j['in']
|
||||
if user:
|
||||
j['editable'] = self.editable(user)
|
||||
|
||||
l = self.get_layer()
|
||||
if l['type'] == 'place':
|
||||
|
|
Loading…
Reference in a new issue