github-actions[bot] opened a new pull request, #67478:
URL: https://github.com/apache/airflow/pull/67478

   The Import Errors API used to fall back to a redaction message for files
   that have no `DagModel` row yet (parse failed before any Dag was defined,
   or all Dags removed). The fallback was a placeholder, not a real
   authorization decision -- it left admins unable to read the actual
   stacktrace, and it did not respect multi-team isolation.
   
   Restore the previous behavior of returning the raw stacktrace in this
   case until a proper admin-only path is in place. The dedicated
   permission and multi-team scoping are tracked in
   https://github.com/apache/airflow/issues/67461.
   
   The other changes from the per-file authorization work -- matching on
   `relative_fileloc + bundle_name` and splitting the list-endpoint CTE so
   the per-file authorization check sees the full Dag set -- stay in
   place.
   (cherry picked from commit 93a078a20de7cda3a4aa64782da03e5a820e7d35)
   
   Co-authored-by: Jarek Potiuk <[email protected]>
   Co-authored-by: Rahul Vats <[email protected]>


-- 
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