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
    )
    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)
    assert project.is_public
    with freeze_phase(phase):
        assert rules.has_perm(perm_name, anonymous, item)
        assert rules.has_perm(perm_name, user, item)
        assert rules.has_perm(perm_name, creator, item)
        assert rules.has_perm(perm_name, group_member_out, item)
        assert 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)