Attempting to view the Learners page as a Learner user results in seeing a blank page, instead of seeing the message "You must be signed in as an admin or coach to view this page":
The 'Go to home page' link is not working for the rest of the pages where it is shown:
Observed behavior
This is a follow-up to https://github.com/learningequality/kolibri/pull/12775 and also the issue is extant in Kolibri 0.17.3
https://github.com/user-attachments/assets/3daf33e0-f317-4de6-bebf-788f063cac63
Expected behavior
Proper redirect of a user without permissions to view a certain page.
Steps to reproduce the issue
Usage Details
Windows 11, Ubuntu 22 - Chrome