Merge lp:~openerp-dev/openobject-addons/trunk-bug-1172210-nco into lp:openobject-addons
Proposed by
Nimesh Contractor(Open ERP)
Status: | Needs review | ||||
---|---|---|---|---|---|
Proposed branch: | lp:~openerp-dev/openobject-addons/trunk-bug-1172210-nco | ||||
Merge into: | lp:openobject-addons | ||||
Diff against target: |
12 lines (+1/-1) 1 file modified
portal/security/portal_security.xml (+1/-1) |
||||
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-1172210-nco | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Thibault Delavallée (OpenERP) (community) | Needs Fixing | ||
Review via email: mp+162972@code.launchpad.net |
Description of the change
Hello,
Change the domain force of the record rule, so anonymous can see Portal images.
Thanks.
To post a comment you must log in.
Unmerged revisions
- 8698. By Ishwar Malvi(OpenERP)
-
[FIX] Anonymous can't see Portal images. by changing the domain force.
Hello,
This merge proposal does not solve the bug. The bug is that anonymous users that see messages try to see the avatar of the authors. However, anonymous user have no access to res.partner model. They can not access partner. image_small, leading to void images in Chatter.
The good way to fix it is to always allow to see a partner avatar (image, image_medium and image_small fields), whatever the access rules defined on res.partner. You should check in the controller how avatars are fetched or put into cache, see if the bug can be solved in the controler, or somewhere else (in the read of res.partner maybe ?).