summaryrefslogtreecommitdiff
path: root/addons/mail/security
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2012-10-19 11:59:19 +0200
committerThibault Delavallée <tde@openerp.com>2012-10-19 11:59:19 +0200
commitfbb80f4ba693bd5b66f092f2ba695282f7fbf28d (patch)
tree3051fe4792ed95eece77eab10c15af74d2c2eb97 /addons/mail/security
parent4ab127557df7f0a36d51fc9a9736d3b61f22ed89 (diff)
[REVIEW] mail: some code cleanup before merging.
mail.message: fixed to_read condition mail.message: cleaned message_read code mail.thread: fixed mega security hole, giving superuser rights when creating objects in mail.thread bzr revid: tde@openerp.com-20121019095919-xa95j10f22va6djm
Diffstat (limited to 'addons/mail/security')
-rw-r--r--addons/mail/security/mail_security.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/security/mail_security.xml b/addons/mail/security/mail_security.xml
index 53083a51d5a..3f2b7bf3e9a 100644
--- a/addons/mail/security/mail_security.xml
+++ b/addons/mail/security/mail_security.xml
@@ -11,7 +11,7 @@
</record>
<record id="mail_followers_read_own" model="ir.rule">
- <field name="name">mail.followers: read its own entries</field>
+ <field name="name">mail.followers: read and write its own entries</field>
<field name="model_id" ref="model_mail_followers"/>
<field name="domain_force">[('partner_id', '=', user.partner_id.id)]</field>
<field name="perm_create" eval="False"/>