summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorrde <rde@odoo.com>2017-10-17 11:27:20 +0200
committerrde <rde@odoo.com>2017-10-20 15:25:28 +0200
commit31c1be1fac29cb0298827e1d686d956b0339df24 (patch)
tree2aea61960a07f40da381d58a923f7063dfb6a0af /addons/web/static/src/js/views/basic/basic_model.js
parentc6a9bab074492beffeddcb320cfdc042f021a285 (diff)
[IMP] auth_oauth: prevent portal users to land on /web after login
Before this commit, a portal user would land on /web after login in with oauth. He would then just see the "Website" app. He should then click on it to land on website instead of landing directly on it after login in, which is not convenient, especially since theses users doesn't know Odoo (in case of sale customers manually created for instance). Now, if users has no 'base.group_user' right, it will be redirected to the website directly instead of /web.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions