pierrejeambrun commented on code in PR #77794:
URL: https://github.com/apache/airflow/pull/77794#discussion_r4753526764
##########
airflow-core/newsfragments/77794.significant.rst:
##########
@@ -0,0 +1,13 @@
+HITL detail read endpoints now also require Task Instance read permission
+
+For security reasons, the permission model of the HITL detail read endpoints
changed. Their
+responses include the task instance, so on top of HITL Detail read permission
they now require
+the same Task Instance read permission as the task instance endpoints:
+
+- ``GET
/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/{map_index}/hitlDetails``
+- ``GET
/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/{map_index}/hitlDetails/tries/{try_number}``
+- ``GET /api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/hitlDetails``
+
+Users whose role grants HITL Detail read but not Task Instance read on a Dag
now get a ``403``
+from these endpoints, including in the "Required Actions" page of the UI.
Grant Task Instance
Review Comment:
Follow up PR here https://github.com/apache/airflow/pull/77876 to hide the
menu
--
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]