Write access is required for creating an object with a chatter
Bug #1204833 reported by
Karel Marissens
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP Publisher's Warranty Team |
Bug Description
When creating an object with a user that only has 'create' access for the relevant model, the creation fails with a 'no access to modify' exception if the model uses a chatter. Example model: hr.applicant.
This behavior changed recently, somewhere between these 2 versions:
- Version with the problem: 7.0-20130723-231040
- Version without the problem: 7.0-20130526-231028
Relevant lines in mail_message.py:
724 if operation in ['create', 'write', 'unlink']:
725 model_obj.
726 model_obj.
Changed in openobject-addons: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
Changed in openobject-addons: | |
importance: | Undecided → Low |
milestone: | none → 7.0 |
To post a comment you must log in.
Hello Karel Marissens,
Martin has fixed and merged this issue in stable 7.0 on revision 9374.
http:// bazaar. launchpad. net/~openerp/ openobject- addons/ 7.0/revision/ 9374#mail/ mail_message. py
Thanks.