summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorJérome Maes <jem@openerp.com>2017-02-16 13:19:22 +0100
committerJérome Maes <jem@openerp.com>2017-03-23 10:16:28 +0100
commit48f5c81755c645aa473d26475f1ef785be7317ee (patch)
tree45bc2c6198aebdea7c9c366ac21bf370da39d86f /addons/web/static/src/js/views/basic/basic_controller.js
parentda6d8a571790bf1775d975ce046df15a895546a1 (diff)
[IMP] base,website_portal: webclient forbidden for portal user
About a `sudo` on ir.ui.menu, this commit (3649b7f359b640635cbe0bc4f161884ba64c2318) removed it, this commit (3d0cc2d6d2dbd567cfaa93de4cb90787d0c07c9e) re-added it. Since portal user can not go on /web anymore, I think portal does not need to read ir.ui.menu. Here some news scenario: - if website is not installed, portal can log in, but will be redirected to login page with an error message 'only employee can access'. Indeed, there is no page to display for such user. - if website is installed, but not website_portal, portal user can log in and will be redirected to homepage. If he tries to manually access to /web, he will be redirect to login page with access error (even if he will still be logged). - if website_portal is installed, the portal user can fully enjoy its features.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions