The GitHub Actions job "Tests" on airflow.git/v3-1-test has failed.
Run started by GitHub user pierrejeambrun (triggered by pierrejeambrun).

Head commit for run:
e1f2b153b650c28d4bee001436cc78fb2b94c07c / github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
[v3-1-test] fix(UI): show 403 error when unauthorized user reparses DAG 
(#61560) (#63339)

* fix(UI): show permission error when unauthorized user tries to reparse DAG

When a Viewer or Author without edit permission tries to reparse a DAG,
the API returns 403 but the UI shows a generic "Dag parsing request
failed" message. This checks the error status and shows an appropriate
"Access Denied" toast instead.

Closes #61459



* Generalize 403 permission toast handling in UI

Move the forbidden toast copy to common translations and route DAG reparse 
mutation errors through a shared error toaster helper so 403 responses 
consistently show a reusable access-denied message.

Made-with: Cursor

* Small adjustments

---------
(cherry picked from commit f01c69a15ab1a5d32d0917a793d438857c6b200b)

Co-authored-by: Liam <[email protected]>
Co-authored-by: Cursor <[email protected]>
Co-authored-by: pierrejeambrun <[email protected]>

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

With regards,
GitHub Actions via GitBox


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

Reply via email to