When a user clicks the "Logout" button on the top right of their screen, they should be redirected to the home page. Without this, if they were on a page they don't have access to, they'll receive a 404 or 403 screen.
I think the redirect should happen regardless of whether they'd still have access, both to provide user feedback and to avoid any potential issues with items visually remaining on screen which they no longer have permission to see.
When a user clicks the "Logout" button on the top right of their screen, they should be redirected to the home page. Without this, if they were on a page they don't have access to, they'll receive a 404 or 403 screen.
I think the redirect should happen regardless of whether they'd still have access, both to provide user feedback and to avoid any potential issues with items visually remaining on screen which they no longer have permission to see.