def METHOD_NAME(self):
    """
    Test AJAX function used to copy objects
    """
    user2 = models.User.objects.create_user(username=f"tested{get_uuid(10)}", email="tested@l.com")
    data = {'user_id': user2.id, "project_uid": self.project.uid, "access": 'write'}
    url = reverse('toggle_delete')
    request = fake_request(url=url, data=data, user=self.owner)
    json_response = ajax.manage_access(request)
    self.process_response(json_response)