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
If you were to change the menu button on the nav bar to send you to /admin instead, this same behavior occurs. Refreshing the page seems to get the redirect to work again for both /classes and /admin
Describe the bug
When an unauthorized user (not a "TEACHER") clicks on the "classes" link, the app redirects to a blank page.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
We should see a more descriptive error message that says "Access Denied". The browser should redirect to the /error page.
Screenshots
Current behavior (blank screen):
Expected behavior:
Additional context
I am using Github Codespaces (Linux) to reproduce this issue.
The text was updated successfully, but these errors were encountered: