Abhishekmishra2808 opened a new pull request, #61588: URL: https://github.com/apache/airflow/pull/61588
## Description Fixes #61460 This PR improves the user experience when an action fails due to insufficient permissions. A global React Query `MutationCache` error handler now intercepts HTTP **403 (Forbidden)** responses and displays a clear toast message: > **Insufficient Permissions — You do not have permission to perform this action.** The toast is deduplicated to prevent spam when multiple mutations fail simultaneously. Existing retry behavior and error propagation remain unchanged. Scope is intentionally limited to **mutations (user actions)** to avoid noisy background query refresh toasts. This provides clearer feedback for protected UI actions (such as triggering DAGs or editing resources) with minimal risk and no behavioral side effects. -- 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]
