pierrejeambrun commented on PR #61560:
URL: https://github.com/apache/airflow/pull/61560#issuecomment-3891777390

   > Can we check the actual API error response to see if we're just presenting 
the wrong message? It would be better to send and display the correct errors 
from the API instead of manually creating error messages in the UI
   
   API just returns `{detail: "Forbidden"}` on 403. Which isn't great.
   
   We can globally remap the `403` with 'details: Forbidden' to a generic 
message. "You do not have permission to perform this action". Which will 
prevent the need from doing a mapping between in the front-end for all 
displayed message.


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