diff --git a/pandora/annotation/models.py b/pandora/annotation/models.py index 9a070a63..081dfd64 100644 --- a/pandora/annotation/models.py +++ b/pandora/annotation/models.py @@ -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':