joven-health-mike / juno-react

A virtual therapy platform designed for K-12 schools.
0 stars 0 forks source link

Custom message for permissions error #112

Open zoe-gonzales opened 1 year ago

zoe-gonzales commented 1 year ago

Currently, if a user tries to access a page that they don't have permission to view, they are shown a 404 page.

Suggestion: The API response is 403 (forbidden) so use this to show the user a custom permissions message, maybe something like "You do not have permission to view this page"

Capture d’écran 2023-02-20 à 9 04 35 AM