summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js
diff options
context:
space:
mode:
authorSimon Lejeune <sle@openerp.com>2016-06-30 16:37:13 +0200
committerSimon Lejeune <sle@openerp.com>2016-07-05 17:44:56 +0200
commit5c54571f4ea0b262c9a3c882c0e29c344eb36d6a (patch)
tree6188d4fe6edd2b310b343aa81b7d5170114f0c02 /addons/web_editor/static/src/js
parent27787265ddcbc3383652129a69de362884a94ea6 (diff)
[FIX] web_editor: remove the `editable key` if no write on the model
The `check_access_rule` call allow to remove the `editable` key from the rendering context (which will lead to the display of the editor bar) if an access rule prevents the edition of the ir.ui.view record. Also remove it in case the user has no write access on the model (i.e. demo user).
Diffstat (limited to 'addons/web_editor/static/src/js')
0 files changed, 0 insertions, 0 deletions