Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(api): allow project-only flag default actions in parity test (#74058)

Nick Best39f181fca98a
diff --git a/posthog/api/test/test_team_project_parity.py b/posthog/api/test/test_team_project_parity.py
index 330616b0a00e..3461106f329c 100644
--- a/posthog/api/test/test_team_project_parity.py
+++ b/posthog/api/test/test_team_project_parity.py
@@ -22,7 +22,7 @@ from posthog.api.team import TeamSerializer, TeamViewSet
PROJECT_ONLY_SERIALIZER_FIELDS = {"product_description", "is_pending_deletion"}
# Actions that legitimately exist only on the project surface (operate on the Project, not the Team).
-PROJECT_ONLY_ACTIONS = {"change_organization"}
+PROJECT_ONLY_ACTIONS = {"change_organization", "default_release_conditions", "default_evaluation_contexts"}
def _serializer_field_names(serializer_class) -> set[str]: