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

   Fix Keycloak auth manager handling for missing team-scoped Dag resources.
   
   When Keycloak returns a `500 resource not found` response for a missing 
authorization resource, the Keycloak auth manager now treats that check as 
denied access and logs a warning instead of raising an exception. This prevents 
one missing team resource from breaking the `/dags` and home screens for every 
user.
   
   Added coverage for:
   - Missing Keycloak authorization resources returning `False`.
   - Dag filtering continuing to return authorized Dags when one team-scoped 
Keycloak resource is missing.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Opus 4.8)


-- 
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