fix playback for non logged in users
This commit is contained in:
parent
3bd4874fc3
commit
61a63ee565
1 changed files with 2 additions and 1 deletions
|
@ -483,7 +483,8 @@ def get(request):
|
||||||
for k in settings.CONFIG['itemKeys']:
|
for k in settings.CONFIG['itemKeys']:
|
||||||
if 'capability' in k \
|
if 'capability' in k \
|
||||||
and not check_capability(k['capability']) \
|
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']]
|
del info[k['id']]
|
||||||
info['editable'] = item.editable(request.user)
|
info['editable'] = item.editable(request.user)
|
||||||
response['data'] = info
|
response['data'] = info
|
||||||
|
|
Loading…
Reference in a new issue