[FIX] website: 'Display Editor Bar on Website' group stopped working at commit a2ef04...
authorChristophe Matthieu <chm@odoo.com>
Thu, 25 Sep 2014 13:32:25 +0000 (15:32 +0200)
committerOlivier Dony <odo@openerp.com>
Fri, 26 Sep 2014 14:50:34 +0000 (16:50 +0200)
commit77c41cc5cb64a951789d251b445f05e42cf1b997
tree864db83294a3a707ab6a9f485f04f41fe40dee7c
parentdd2f2291532e1839ccee8298c4bb3eb784f34a3d
[FIX] website: 'Display Editor Bar on Website' group stopped working at commit a2ef044c477

The Edit button never appeared anymore for these users.
The idea was that they should see an edit button with
limited editing capabilities depending on their other
access rights.
For example, someone with only Sales Manager access and
'Display Editor Bar on Website'
would be able to edit online quotes from the website_quote
module, but not change the actual website pages or menus,
for instance.
addons/website/models/ir_ui_view.py
addons/website/static/src/js/website.editor.js
addons/website/static/src/js/website.js
addons/website/views/website_backend_navbar.xml
openerp/addons/base/ir/ir_qweb.py