diff options
| author | Thibault Delavallée <tde@odoo.com> | 2020-10-09 08:43:21 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2020-10-09 08:54:33 +0000 |
| commit | 000af2688e32d19b1874df2e909ccf0ddf636b91 (patch) | |
| tree | d9ea5990752713211453e3fbb3b800fe8afe26db /addons/mail/static/src/components/thread_view | |
| parent | ececa74b96accd86bf9e9448d18526a905fed4c9 (diff) | |
[REV] Revert "[FIX] web: add access group to the pdf js template."
This reverts commit odoo/odoo@681306d4e76faeb119d363c263c54b287cb5c150.
Adding groups on assets parts is not a good idea. Indeed as assets are
compiled and optimized we do not want to serve different assets to different
users.
For example if you have several users in parallel on several workers those
could try to regenerate assets for their users. As each user has different
assets this could lead to big performance issue.
As original commit tried to solve a race condition we can safely remove the
assets fix to avoid issues and work on a cleaner solution.
See original ref odoo/odoo#51804 and odoo/enterprise#10737
This also solves an issue notably in website_slides where access to pdfjs
library was depending on connected users, due to assets mismatch. See
task ID-2352391 .
closes odoo/odoo#59578
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/mail/static/src/components/thread_view')
0 files changed, 0 insertions, 0 deletions
