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