def METHOD_NAME(phase_factory, poll_factory, user, user_factory):
    phase, _, project, item = setup_phase(
        phase_factory,
        poll_factory,
        phases.VotingPhase,
        module__project__is_archived=True,
    )
    anonymous, moderator, _ = setup_users(project)
    initiator = user_factory()
    project.organisation.initiators.add(initiator)
    creator = item.creator
    assert project.is_archived
    with freeze_post_phase(phase):
        assert not rules.has_perm(perm_name, anonymous, item)
        assert not rules.has_perm(perm_name, user, item)
        assert not rules.has_perm(perm_name, creator, item)
        assert rules.has_perm(perm_name, moderator, item)
        assert rules.has_perm(perm_name, initiator, item)