def METHOD_NAME(
    client, phase_factory, map_idea_factory, category_factory
):
    phase, module, project, mapidea = setup_phase(
        phase_factory, map_idea_factory, phases.RatingPhase
    )
    category = category_factory(module=module)
    user = mapidea.creator
    assert user not in project.moderators.all()
    url = reverse(
        "a4_candy_mapideas:mapidea-update",
        kwargs={
            "organisation_slug": mapidea.project.organisation.slug,
            "pk": mapidea.pk,
            "year": mapidea.created.year,
        },
    )
    with freeze_phase(phase):
        client.login(username=user.email, password="password")
        data = {
            "name": "Another MapIdea",
            "description": "changed description",
            "category": category.pk,
            "organisation_terms_of_use": True,
        }
        response = client.post(url, data)
        assert response.status_code == 403