Website Login Wall
Sends visitors to the login page before they see your website, or only the paths you list, and brings them back to the page they asked for once they're signed in.
| Odoo | 16.0, 17.0, 18.0, 19.0, 20.0 |
| Editions | Community, Enterprise |
| Languages | English, French, Spanish, German, Italian, Portuguese (Brazil), Dutch, Chinese (Simplified), Japanese, Arabic, Russian |
| Works with | Website |
| Licence | LGPL-3, free |
| Tests | 19 automated, run on every version |
| Module | website_ |
The situation
A B2B shop, a members area or an intranet built with the Website app shouldn't be open to everyone. Odoo lets you set Visibility on a single website page (signed in, a group, or a password), but pages served by code such as /shop, /blog or /event have no such setting, and every new page has to be set by hand.
This module adds a Login Wall to each website. Lock the whole website except a short list of public paths, or lock only the paths you list. A visitor who opens a walled URL goes to /web/login with that URL in redirect=, and lands back on it after signing in.
What it adds
Getting started
Open Apps, clear the Apps filter, search for Website Login Wall and click Activate. It needs Website. Nothing changes until you pick a Scope.
Apps › website_login_wall › Activate
Pick a Scope, list the paths one per line, and choose Allowed Groups if only some signed-in users should get in. Save: the wall applies to the website selected at the top of the settings page.
Website › Configuration › Settings › Login Wall
There's nothing to do day to day. Share links as usual: a visitor who isn't signed in sees the login page first, then the page you sent.
Fine print
Log
Need a different rule for one section?
Tell us which paths and groups, and your Odoo version.
Email odoo.expert.111@gmail.com
Please log in to comment on this module