Vamsi-klu opened a new pull request, #67823: URL: https://github.com/apache/airflow/pull/67823
Task group UI structure data now checks normal Dag read access for the requested Dag, and only asks for dependency access when external dependency data is requested. This lets users who have read access to a specific Dag open the task group view without requiring global Dag read or unrelated task instance permissions. Access to other Dags remains denied, and external dependency data still requires dependency access. closes: #62532 Tests: - `uv run --project airflow-core pytest airflow-core/tests/unit/api_fastapi/core_api/routes/ui/test_structure.py -xvs --with-db-init` - `prek run --from-ref upstream/main --stage manual` - `breeze ci selective-check --commit-ref 3f748005fa` - `prek run --from-ref upstream/main --stage pre-commit` passed all reached hooks except `generate-openapi-spec`, which is blocked locally because Breeze needs the Docker CLI to build/use the CI image and this machine has no `docker` binary. --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Codex (GPT-5) Generated-by: Codex (GPT-5) following [the guidelines](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]
