def METHOD_NAME(
    phase_factory, user, admin, user_factory, group_factory
):
    phase, module, project, _ = setup_phase(
        phase_factory, None, phases.RequestPhase, module__project__is_draft=True
    )
    anonymous, moderator, initiator = setup_users(project)
    (
        project,
        group_member_in_org,
        group_member_in_pro,
        group_member_out,
    ) = setup_group_members(project, group_factory, user_factory)
    assert project.is_draft
    with freeze_phase(phase):
        assert not rules.has_perm(perm_name, anonymous, module)
        assert not rules.has_perm(perm_name, user, module)
        assert not rules.has_perm(perm_name, group_member_out, module)
        assert not rules.has_perm(perm_name, group_member_in_org, module)
        assert rules.has_perm(perm_name, group_member_in_pro, module)
        assert rules.has_perm(perm_name, moderator, module)
        assert rules.has_perm(perm_name, initiator, module)
        assert rules.has_perm(perm_name, admin, module)