Community mailing list archives
Re: Website - Check if user has backend/employee priviledgesby
To: "Community" <firstname.lastname@example.org>
Sent: Friday, March 25, 2016 3:31:59 PM
Subject: RE: Website - Check if user has backend/employee priviledges
You can check it if user has a portal/public or not, if portal/public it means it should not have backend access.
Expert in Finance, Information System & Business Intelligence
Odoo Silver Partner
Tel. 13670137019 (China - Shenzhen)
From: MGinshe [mailto:email@example.com]
Sent: Friday, March 25, 2016 10:23 AM
To: Community <firstname.lastname@example.org>
Subject: Website - Check if user has backend/employee priviledges
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).