parameters: (request)
return_statement: return HttpResponse({})
docstring: Modify a bucket list for a top-level object. Should be an AJAX POST.
  
      :param request: Django request.
      :type request: :class:`django.http.HttpRequest`
      :returns: :class:`django.http.HttpResponse`
docstring_summary: Modify a bucket list for a top-level object. Should be an AJAX POST.
docstring_tokens: Modify a bucket list for a top - level object . Should be an AJAX POST .
function: def bucket_modify(request):
      """
      Modify a bucket list for a top-level object. Should be an AJAX POST.
  
      :param request: Django request.
      :type request: :class:`django.http.HttpRequest`
      :returns: :class:`django.http.HttpResponse`
      """
  
      if request.method == "POST" and request.is_ajax():
          tags = request.POST['tags'].split(",")
          oid = request.POST['oid']
          itype = request.POST['itype']
          user = request.user
          acl = get_acl_object(itype)
          if user.has_access_to(acl.BUCKETLIST_EDIT):
              modify_bucket_list(itype, oid, tags, request.user.username)
      return HttpResponse({})
function_tokens: def bucket_modify ( request ) : if request . method == "POST" and request . is_ajax ( ) : tags = request . POST [ 'tags' ] . split ( "," ) oid = request . POST [ 'oid' ] itype = request . POST [ 'itype' ] user = request . user acl = get_acl_object ( itype ) if user . has_access_to ( acl . BUCKETLIST_EDIT ) : modify_bucket_list ( itype , oid , tags , request . user . username ) return HttpResponse ( { } )