Community mailing list archives

Website - Check if user has backend/employee priviledges

Ryan Cole
- 03/24/2016 22:19:03
Is it possible to determine if the currently logged in user has backend access?

I'm building a website with custom navbar, which needs to be offset slightly to make room for the Odoo backend menubar. Is there a way to do this from within a theme module (preferably using a qweb <t t-if> statement).