pierrejeambrun opened a new pull request, #67112:
URL: https://github.com/apache/airflow/pull/67112

   Align `GET /eventLogs/{event_log_id}` with the collection endpoint `GET 
/eventLogs`, which already scopes results to the user's permitted Dags via 
`ReadableEventLogsFilterDep`. The detail endpoint only enforced the generic 
`DagAccessEntity.AUDIT_LOG` check via `requires_access_dag` with no `dag_id`.
   
   Introduce `requires_access_event_log`, mirroring `requires_access_backfill`: 
resolve the `dag_id` from the event log row, then delegate to 
`requires_access_dag` scoped to that `dag_id`.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Opus 4.7)
   
   Generated-by: Claude Code (Opus 4.7) 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]

Reply via email to