o-nikolas commented on code in PR #67251:
URL: https://github.com/apache/airflow/pull/67251#discussion_r3276931054


##########
airflow-core/src/airflow/models/asset.py:
##########
@@ -592,6 +592,9 @@ class DagScheduleAssetReference(Base):
     asset_id: Mapped[int] = mapped_column(Integer, primary_key=True, 
nullable=False)
     dag_id: Mapped[str] = mapped_column(StringID(), primary_key=True, 
nullable=False)
     allow_producer_teams: Mapped[list | None] = mapped_column(sa.JSON(), 
nullable=True)
+    allow_global_producers: Mapped[bool] = mapped_column(
+        sa.Boolean(), nullable=False, server_default=sa.true()

Review Comment:
   Should the default err on the side of security and disable this? Or do we 
want to keep it on the side of mimicking what current Airflow does?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to