diff options
| author | Denis Ledoux <dle@odoo.com> | 2015-04-03 12:40:57 +0200 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2015-04-03 12:44:44 +0200 |
| commit | eaad70daac22fd0fde1c63484b7f29eae6302e41 (patch) | |
| tree | 653b20a7d3561207ab0d8164861d1f712c8c017d /addons/web/static/src/js/framework/data.js | |
| parent | 3bd29a348385dfaded8ff70240435b8c9ee89773 (diff) | |
[FIX] ir_attachment: upload of attachment for non-employees
This rev. is related to eb9113c04d66627fbe04b473b9010e5de973c6aa
if a model or a resource id is not defined on an attachment
restrict access to employees only if the creator
of this attachment is not the current user.
So non-employees can access their attachments without
models/resource id, which includes attachment of
discussions threads.
Fixes #4309
Closes #4310
Diffstat (limited to 'addons/web/static/src/js/framework/data.js')
0 files changed, 0 insertions, 0 deletions
