Community mailing list archives

community@mail.odoo.com

RE: Website - Check if user has backend/employee priviledges

by
hans.yonathan
- 03/24/2016 22:29:12

You can check it if user has a portal/public or not, if portal/public it means it should not have backend access.

 

Thank You.

 

Best Regards,

Hans Yonathan

CTO

FALINWA Limited

Expert in Finance, Information System & Business Intelligence

Odoo Silver Partner

Website: www.falinwa.com

Tel. 13670137019 (China - Shenzhen)

 

From: MGinshe [mailto:mginshe@gmail.com]
Sent: Friday, March 25, 2016 10:23 AM
To: Community <community@mail.odoo.com>
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).

 

 

Cheers,

Ryan

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe