def test_list_project_has_permission(
    staff_user: FFAdminUser,
) -> None:
    """All users should be able to create project"""
    # Given
    mock_request = mock.MagicMock(user=staff_user)
    mock_view = mock.MagicMock(action="list", detail=False)
    project_permissions = ProjectPermissions()

    # When
    response = project_permissions.has_permission(mock_request, mock_view)  # type: ignore[no-untyped-call]

    # Then
    assert response is True
All users should be able to create project
api/tests/unit/projects/test_unit_projects_permissions.py