diff options
| author | Jorge Pinna Puissant <jpp@odoo.com> | 2020-10-06 08:31:42 +0000 |
|---|---|---|
| committer | Jorge Pinna Puissant <jpp@odoo.com> | 2020-10-09 14:24:16 +0000 |
| commit | 64e93794efb4193b3dfa7aa43360a1ef274e623d (patch) | |
| tree | 373ab99283cc6e442007227a6638eb54d67cf190 /addons/mail/static/src/components | |
| parent | 74780e95a2a3db9d9875aea7e644bf064ecf6b46 (diff) | |
[FIX] project: access token on task
- Create a new Project with 'Portal user and all employees' as
visibility;
- Add a portal user as customer;
- Create a new task in the Project, without assigning the task to
anybody;
- Connect to the portal as the portal user;
- Send a message on the task.
Before this commit, an Error 403 forbidden was raised, this error occurs
because the task don't have an access token created, this token will be
created when an internal user send a message on the task.
Now, the access token is created if the project has a 'Portal user and
all employees' visibility, and the portal user can post a message on
the task.
opw-2345070
closes odoo/odoo#59282
X-original-commit: 8a68fac8b246a3e2435e670d9fb2bfb91cc9f83f
Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com>
Diffstat (limited to 'addons/mail/static/src/components')
0 files changed, 0 insertions, 0 deletions
