def METHOD_NAME(user, project_factory, apiclient):
    project_1 = project_factory(is_app_accessible=True)
    project_2 = project_factory(is_app_accessible=True)
    project_3 = project_factory(is_app_accessible=True)
    project_4 = project_factory(is_app_accessible=False)
    project_5 = project_factory(is_app_accessible=True, is_draft=True)
    project_6 = project_factory(is_app_accessible=True, is_archived=True)
    url = reverse("app-projects-list")
    response = apiclient.get(url, format="json")
    assert response.status_code == 401
    apiclient.login(username=user.email, password="password")
    response = apiclient.get(url, format="json")
    assert response.status_code == 200
    assert any(
        [
            True
            for dict in response.data
            if ("pk" in dict and dict["pk"] == project_1.pk)
        ]
    )
    assert any(
        [
            True
            for dict in response.data
            if ("pk" in dict and dict["pk"] == project_2.pk)
        ]
    )
    assert any(
        [
            True
            for dict in response.data
            if ("pk" in dict and dict["pk"] == project_3.pk)
        ]
    )
    assert not any(
        [
            True
            for dict in response.data
            if ("pk" in dict and dict["pk"] == project_4.pk)
        ]
    )
    assert not any(
        [
            True
            for dict in response.data
            if ("pk" in dict and dict["pk"] == project_5.pk)
        ]
    )
    assert not any(
        [
            True
            for dict in response.data
            if ("pk" in dict and dict["pk"] == project_6.pk)
        ]
    )