Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
10381 Переглядів

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. 

Аватар
Відмінити
Найкраща відповідь

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:


Аватар
Відмінити
Найкраща відповідь

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.

 

Аватар
Відмінити