Open nbiton opened 10 years ago
Not just unauthorized, but any errors seem to be silently discarded. Sails sends back a 400 but all looks normal in the UI. How do I capture the error and show the user that their change wasn't accepted?
Preferably with the option to revert to the last accepted value.
Ok, sorry for the long delay, I've been buried by my day job. I'll try to do this over the weekend, or on my vacations.
I have policies that reject unauthorized requests to certain resources. It is quite easy to catch and handle if I'm using the REST API. I can't find a good way of doing this with this module yet.