fix playback for non logged in users

This commit is contained in:
j 2013-03-22 12:25:01 +00:00
parent 3bd4874fc3
commit 61a63ee565

View file

@ -483,7 +483,8 @@ def get(request):
for k in settings.CONFIG['itemKeys']:
if 'capability' in k \
and not check_capability(k['capability']) \
and k['id'] in info:
and k['id'] in info \
and k['id'] not in ('parts', 'durations'):
del info[k['id']]
info['editable'] = item.editable(request.user)
response['data'] = info