Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
10283 Представления

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.

 

Аватар
Отменить