Override default authorization logic

Is it possible to override the default authorization logic of the Filament Resource. When a user isn't allowed to view a resource (through policy) I want to show a Notification and redirect the user to the dashboard.
How can I do that?
Was this page helpful?