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

Our customer portal isn't heavily used and we recently learned that customers are being blocked from logging in.  Our best guess is that the error is coming due to a change we made in the website that has somehow impacted the portal.  


Any suggestions on how to track down the access request? Odoo.sh 16


Error our customers see:


403: Forbidden

The page you were looking for could not be authorized.

Error message:

You are not allowed to access 'User' (res.users) records. 

This operation is allowed for the following groups:

​- Administration/Access Rights 

​- User types/Internal User 

Contact your administrator to request access if necessary.

Implicitly accessed through 'User' (res.users). 

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

Have you been able to solve this issue? We are facing the same error on self-hosted odoo 18

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

The access right "res_users all" had been changed from global to internal users

This had been in an attempt to block website registrations and enforce invite only.  

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

okay, that's why you're facing the issue and you can revert the access permission and check again.

Найкраща відповідь

Hello, 

Kindly review the following things: 

1. User Role permission is related to Portal or Not 

2. If you've added any custom module in that case add .sudo() where you facing any issue in line or give the proper access right to the portal user groups


Thanks.

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

Internal users are not affected. The error only occurs when a portal user attempts to login or a new user attempts to create an account.

We have no custom modules or third party modules