AbarnaaSree opened a new pull request, #73292: URL: https://github.com/apache/airflow/pull/73292
Fix stale DAGs affecting source authorization. When a stale DAG shares the same `relative_fileloc` and `bundle_name` as an active DAG, it can incorrectly be included in the source authorization check. This may cause the DAG source to be redacted even when the user has read access to all active DAGs. This change excludes stale DAGs from the authorization query. ### Tests * Added a regression test for an unreadable colocated DAG marked as stale. * `git diff --check` passes. * Local focused test execution was blocked by the Breeze CI image build failing while downloading `mprocs`. ### Issue related: #73284 --- ##### Was generative AI tooling used to co-author this PR? * [x] Yes (ChatGPT) Generated-by: ChatGPT following the [[Airflow guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- 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]
