def METHOD_NAME(request):
  path = request.POST.get('path')
  acls = json.loads(request.POST.get('acls'))
  checked_paths = json.loads(request.POST.get('checkedPaths'))
  recursive = json.loads(request.POST.get('recursive'))
  try:
    checked_paths = [path['path'] for path in checked_paths if path['path'] != path] # Don't touch current path
    for path in checked_paths:
      _modify_acl_entries(request.fs, path, [acl for acl in acls if acl['status'] == ''], recursive) # Only saved ones
  except Exception as e:
    raise PopupException(str(e.message))
  return JsonResponse({'status': 0})