Skip to Content
Menu
This question has been flagged
2 Replies
8516 Views

Hello, is there a setting that enables me to restrict who can see our website/blog/forum? I'd like to limit it to only pre-authorised users - not just limiting the ability to post, but the the ability to see anything at all. 

Avatar
Discard
Best Answer

If you are using Odoo 14, the Website module allows you to control this via a setting in the Page Properties. To enable this, log in as a user with Website Editor privileges, go to one of the pages on the website, open Pages > Page Properties from the menu on the top left, go to the Publish tab and select Signed In in the Visibility field like so:


Avatar
Discard
Best Answer

Hi,

   In the corresponding controller of that page give auth="user" instead of auth="public"

    1) ‘public’ - If auth=’public’, anyone can access the URL and view the webpage. There are no access restrictions.

    2) ‘user’ -  If auth=’user’, only logged in users can access the URL and view the contents of the webpage.

 

Avatar
Discard