pierrejeambrun commented on code in PR #77794:
URL: https://github.com/apache/airflow/pull/77794#discussion_r4753482584
##########
airflow-core/src/airflow/api_fastapi/core_api/routes/public/hitl.py:
##########
@@ -378,7 +384,10 @@ def get_hitl_detail_try_detail(
"/hitlDetails",
status_code=status.HTTP_200_OK,
responses=create_openapi_http_exception_doc([status.HTTP_400_BAD_REQUEST]),
- dependencies=[Depends(requires_access_dag(method="GET",
access_entity=DagAccessEntity.HITL_DETAIL))],
+ dependencies=[
+ Depends(requires_access_dag(method="GET",
access_entity=DagAccessEntity.HITL_DETAIL)),
+ Depends(requires_access_dag(method="GET",
access_entity=DagAccessEntity.TASK_INSTANCE)),
Review Comment:
Yes that's a gap pre-existing this PR, we should probably address it
separatly.
--
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]