The GitHub Actions job "Tests" on airflow.git/2603/fab_patch has succeeded.
Run started by GitHub user Dev-iL (triggered by Dev-iL).

Head commit for run:
63f52e686ed405de2b00effa1af8c5a7be313931 / Dev-iL 
<[email protected]>
fix(providers/fab): use forward method→action map in get_authorized_dag_ids

The PATCH→can_edit entry added in 839e2e9 broke get_authorized_dag_ids
for PUT requests. The method used the *reverse* map (action→method) to
match permissions, but reversing a many-to-one map (PUT and PATCH both
map to can_edit) silently dropped PUT in favour of PATCH.

Switch to the forward map instead: look up the FAB action for the
incoming HTTP method once, then compare directly against each
permission's action name. This is both correct for aliased methods and
simpler.

Report URL: https://github.com/apache/airflow/actions/runs/23430451515

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to