diff options
| author | Pierre Masereel <pim@odoo.com> | 2017-01-16 14:52:15 +0100 |
|---|---|---|
| committer | Pierre Masereel <pim@odoo.com> | 2017-01-16 17:54:12 +0100 |
| commit | 77767801c6b40766dd5e8dc76f3f6e3d56bbe9be (patch) | |
| tree | f57e9fd68eb5bff6a27d54afcc8234618fca7cec /addons/web/static/src/js/widgets/data_export.js | |
| parent | 36f6f2647d615fad9010a673686c6b86bce5bf0a (diff) | |
[FIX] bus: do not suggest company users to portal users
When you are connected as a portal user, you can access to the list of
company users when you try to create a channel of type "Direct Message".
This is caused by a SQL request that doesn't check the access rights of
the user before returning the list of users.
To fix this, we check that the user can create a mail channel, before
returning partners information.
opw-704127
Diffstat (limited to 'addons/web/static/src/js/widgets/data_export.js')
0 files changed, 0 insertions, 0 deletions
