-
- Downloads
[FIX] website: public user should see published pp
As the public user, browse the website where you usually should see some
profile pictures (e.g. inside the forum). All the images are wrongly
replaced by the grey avatar placeholder.
When using `ir.binary._find_record` it was checking the access rights
and raising `AccessError` early even if the record was
`website_published`.
closes odoo/odoo#113427
Signed-off-by:
Julien Castiaux (juc) <juc@odoo.com>
Showing
- addons/website/models/ir_binary.py 6 additions, 3 deletionsaddons/website/models/ir_binary.py
- addons/website/tests/test_controllers.py 13 additions, 0 deletionsaddons/website/tests/test_controllers.py
- addons/website/tests/test_performance.py 2 additions, 2 deletionsaddons/website/tests/test_performance.py
- odoo/addons/base/models/ir_binary.py 7 additions, 4 deletionsodoo/addons/base/models/ir_binary.py
Please register or sign in to comment