You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure what the best way to do this but it was brought to our attention yesterday that trying to delete an expense you're not allowed to delete would just result in a 500 status code. Probably better to at least have it return an unauthorized/forbidden code and some helpful page that shows what was wrong.
Should probably be done in many places.
The text was updated successfully, but these errors were encountered:
I tried to delete a duplicated expense. But I wasn't authorized to delete it. The button should probably not show up for me then. That would also solve this issue. may_delete -> show delete button
I'm not sure what the best way to do this but it was brought to our attention yesterday that trying to delete an expense you're not allowed to delete would just result in a 500 status code. Probably better to at least have it return an unauthorized/forbidden code and some helpful page that shows what was wrong.
Should probably be done in many places.
The text was updated successfully, but these errors were encountered: