diff options
| author | Nicolas Seinlet <nse@openerp.com> | 2017-11-07 10:25:47 +0100 |
|---|---|---|
| committer | Christophe Simonis <KangOl@users.noreply.github.com> | 2017-11-07 10:57:06 +0100 |
| commit | 6488682cd66a5243e427d0c988572e19b28acda7 (patch) | |
| tree | 0668e12e97b3a0dea1a423746043d858416c9dbb /addons/web/static/src/js/views/basic | |
| parent | 6c996723b212b8ea85aa7b5d6e935d80e37b83a9 (diff) | |
Backport 2d66d9a63e85dada87b5c70b38bda9ec059aaaf4
[FIX] *: do not use groups when extending an asset bundle
Using groups when declaring an extension of an asset bundle leads to a
different generated asset bundle according to the user's group. This
is not something we want because a dynamic asset bundle's content
means that it could (and it does) trigger unwanted cache invalidation.
website_event, website_blog, website_forum and website_sale add
functions to . These functions are bound to
server side qweb nodes protected by groups. We can always add the
functions; if a user tries to use the routes he should receive a
traceback because of lack of access rules
website_blog adds a module, but is guarded by
the presence of a node in the DOM. We use the same logic to guard the
module added by website_sale with the node.
website_gengo is working as expected.
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
