openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #24161
[Bug 1204833] Re: Write access is required for creating an object with a chatter
** Changed in: openobject-addons
Assignee: (unassigned) => OpenERP Publisher's Warranty Team (openerp-opw)
** Tags added: maintenance
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1204833
Title:
Write access is required for creating an object with a chatter
Status in OpenERP Addons (modules):
New
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.check_access_rights(cr, uid, 'write') <-- THIS ONE
726 model_obj.check_access_rule(cr, uid, mids, 'write', context=context)
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1204833/+subscriptions
References