This is an automated email from the ASF dual-hosted git repository.
shubhamraj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 934409f51d4 Correct the access for the externalLogUrl (#60412)
934409f51d4 is described below
commit 934409f51d432c34fbcf21eca014ea18b0c78b94
Author: Shubham Raj <[email protected]>
AuthorDate: Wed Jan 14 00:38:18 2026 +0530
Correct the access for the externalLogUrl (#60412)
---
airflow-core/src/airflow/api_fastapi/core_api/routes/public/log.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/airflow-core/src/airflow/api_fastapi/core_api/routes/public/log.py
b/airflow-core/src/airflow/api_fastapi/core_api/routes/public/log.py
index 5f1d04a244a..20379876ebe 100644
--- a/airflow-core/src/airflow/api_fastapi/core_api/routes/public/log.py
+++ b/airflow-core/src/airflow/api_fastapi/core_api/routes/public/log.py
@@ -170,7 +170,7 @@ def get_log(
@task_instances_log_router.get(
"/{task_id}/externalLogUrl/{try_number}",
responses=create_openapi_http_exception_doc([status.HTTP_400_BAD_REQUEST,
status.HTTP_404_NOT_FOUND]),
- dependencies=[Depends(requires_access_dag("GET",
DagAccessEntity.TASK_INSTANCE))],
+ dependencies=[Depends(requires_access_dag("GET",
DagAccessEntity.TASK_LOGS))],
)
def get_external_log_url(
dag_id: str,