We need to handle 40x responses from API correctly
For instance if mentor is not allowed to promote or demote a student we will return 403. A message should be shown to user saying something like:
"You don't have the appropriate permissions to do this action"
The same happens for Wizchips.
None of this is being handle correctly right now given mentor's feedback where they tell us "promote/demote and wizchips do not work" where the problem is that they don't have permissions but the app is not giving this message
We need to handle 40x responses from API correctly
For instance if mentor is not allowed to promote or demote a student we will return 403. A message should be shown to user saying something like:
"You don't have the appropriate permissions to do this action"
The same happens for Wizchips.
None of this is being handle correctly right now given mentor's feedback where they tell us "promote/demote and wizchips do not work" where the problem is that they don't have permissions but the app is not giving this message