Is your feature request related to a problem or unsupported use case? Please describe.
Currently, when user without access tries to go to a teacher dashboard route, this one is not protected so it can access to the view or has a router error if no data can be retrieved.
Describe the solution you'd like
When a user without access tries to go to teacher dashboard view, it should be redirected to the homepage.
Describe alternatives you've considered
Authenticate with a user without organization or course access
Go to a teacher dashboard route (e.g: /en/dashboard/teacher/courses)
Feature Request
Is your feature request related to a problem or unsupported use case? Please describe. Currently, when user without access tries to go to a teacher dashboard route, this one is not protected so it can access to the view or has a router error if no data can be retrieved.
Describe the solution you'd like When a user without access tries to go to teacher dashboard view, it should be redirected to the homepage.
Describe alternatives you've considered
/en/dashboard/teacher/courses
)