Files
odoo_source/addons/portal/controllers
std-odoo d90ed9d359 [FIX] website_slides: user can not access his own attachment in the PortalComposer
Bug
===
1. login as demo user
2. add a review on a course and upload an attachment
3. click on the attachment link
=> You get a 404 error

For some reason, we do not return the access token if the user is
internal. The generation is not a heavy process, and might be needed
depending on the <ir.rule>.

Task-3693072

closes odoo/odoo#159126

X-original-commit: 74b0f88c6b15feb8d3453edf20acda81b37df66c
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Signed-off-by: Stéphane Debauche (std) <std@odoo.com>
2024-03-26 08:20:23 +00:00
..
…
…