github-actions[bot] opened a new pull request, #63339:
URL: https://github.com/apache/airflow/pull/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
   
   Co-authored-by: Cursor <[email protected]>
   
   * 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]>


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