Double change preview_language
Allow page permission checks against provided user object
Whitespace and PEP-8
Add on_success to AjaxItem toolbar item
Redirect user to home page when logging out from the toolbar on restricted pages
Add tests for toolbar logout redirect
Merge pull request #2770 from yakky/feature/fix_2124

Redirect to home when logging out on a view restricted page