Daily updates from Odoo
Friday, August 22, 2025
1 change
Resolved issues and error corrections
The Copy Link action now sends public and portal users to the correct page containing the message instead of an unauthorized page. The change also prevents link copying where a user lacks read access, helping avoid accidental exposure of access tokens.
Original PR description
Before this commit, links produced by the "Copy Link" action on portal or public chatters would redirect to an unathorized page. This happens because the route used in the link would check access rights to the message, which public and portal users usually don't have. This commit fixes the issue by overriding the link route in modules with public chatter such that it would redirect to the page containing the chatter. This commit also removes the possibility to copy links of messages inside portal documents for which a user has no read access to avoid leaking the access token. task-4551910 Forward-Port-Of: odoo/odoo#223481 Forward-Port-Of: odoo/odoo#202555