if user != request.user.username:
return response.AccessDenied().django_response({
'reason': 'insufficient-priviliges',
})
current = lib.document(docid, user)
if user != request.user.username:
return response.AccessDenied().django_response({
'reason': 'insufficient-priviliges',
})
current = lib.document(docid, user)