def METHOD_NAME(
    phase_factory, poll_factory, user, another_user, user_factory
):
    phase, _, project, item = setup_phase(
        phase_factory,
        poll_factory,
        phases.VotingPhase,
        module__project__access=Access.PRIVATE,
    )
    anonymous, moderator, _ = setup_users(project)
    initiator = user_factory()
    project.organisation.initiators.add(initiator)
    creator = item.creator
    participant = another_user
    project.participants.add(participant)
    assert project.access == Access.PRIVATE
    with freeze_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, participant, item)
        assert rules.has_perm(perm_name, moderator, item)
        assert rules.has_perm(perm_name, initiator, item)