Skip to Content
Menu
This question has been flagged

I am using Odoo 13 CE with multi-company configuration.

When I try to access any unpublish product endpoint as a Public User, I receive a 403 Forbidden error due to security restrictions:

The requested operation cannot be completed due to security restrictions. Please contact your system administrator.

(Document type: "Product Template" (product.template), Operation: read)
And I am expecting an 404: Page not found.


My problem is that I do not know how to debug or to figure out these restrictions for the Public User.


How would you debug or solve this issue?

Avatar
Discard
Best Answer

There is a group for the public user
Debugmode > Settings > Users & Companies > Groups
Search "User types / Public" > open Record and navigate to Record Rules. 

Here you could see Resctrictions for Public User. If website is not published a public user is not allowed to open that page.

I hope this is what you meant

Avatar
Discard
Author

Thanks for your response.
I have compared the Public User Record Rules from my production instance with a local/development instance and there are the sames. The local odoo returns 404, but the production one is returning 403.

Related Posts Replies Views Activity
2
Sep 24
2743
1
May 24
637
1
May 24
911
1
Dec 23
907
2
Dec 22
3996