pierrejeambrun commented on code in PR #47631:
URL: https://github.com/apache/airflow/pull/47631#discussion_r1989656897
##########
airflow/api_fastapi/core_api/routes/ui/structure.py:
##########
@@ -36,6 +38,10 @@
@structure_router.get(
"/structure_data",
responses=create_openapi_http_exception_doc([status.HTTP_404_NOT_FOUND]),
+ dependencies=[
+ Depends(requires_access_dag("GET")),
Review Comment:
Thanks! I think the idea behind that in the legacy code is that this will
return the graph dependencies. Tasks, setup/teardown, mapped, etc... With task
ids and more information related to the tasks. So this requires TaskInstance
permission on the dag.
Then we added the ability to request `external_dependencies` which will add
external dependencies such as assets/aliases/trigger etc... (for this we need
the Dependencies permission)
--
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]