def METHOD_NAME(
    phase_factory, map_idea_factory, user, admin, user_factory, group_factory
):
    phase, _, project, item = setup_phase(
        phase_factory,
        map_idea_factory,
        phases.CollectPhase,
        module__project__access=Access.SEMIPUBLIC,
    )
    anonymous, moderator, initiator = setup_users(project)
    creator = item.creator
    (
        project,
        group_member_in_org,
        group_member_in_pro,
        group_member_out,
    ) = setup_group_members(project, group_factory, user_factory)
    participant = user_factory()
    project.participants.add(participant)
    assert project.access == Access.SEMIPUBLIC
    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 not rules.has_perm(perm_name, participant, item)
        assert not rules.has_perm(perm_name, group_member_out, item)
        assert not rules.has_perm(perm_name, group_member_in_org, item)
        assert rules.has_perm(perm_name, group_member_in_pro, item)
        assert rules.has_perm(perm_name, moderator, item)
        assert rules.has_perm(perm_name, initiator, item)
        assert rules.has_perm(perm_name, admin, item)