Redirect non-authorized users.

Hi how can I avoid the 403 restrincted? when a user does not have access to a Panel I want to redirect them to route('home)
Was this page helpful?