pierrejeambrun commented on code in PR #67293:
URL: https://github.com/apache/airflow/pull/67293#discussion_r3304949234


##########
airflow-core/src/airflow/api_fastapi/core_api/security.py:
##########
@@ -462,14 +461,22 @@ def inner(
                 # The list of `IsAuthorizedPoolRequest` will then be sent 
using `batch_is_authorized_pool`
                 # Each `IsAuthorizedPoolRequest` is similar to calling 
`is_authorized_pool`
                 for method in methods:
-                    req: IsAuthorizedPoolRequest = {
-                        "method": method,
-                        "details": PoolDetails(
-                            name=pool_name,
-                            team_name=pool_name_to_team.get(pool_name),
-                        ),
-                    }
-                    requests.append(req)
+                    teams_to_check = _collect_teams_for_bulk_entity(

Review Comment:
   Does requires_access_dag_run_bulk also need update?



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