summaryrefslogtreecommitdiff
path: root/addons/mail/security/mail_security.xml
diff options
context:
space:
mode:
authorAntonin Bourguignon <abo@openerp.com>2012-09-28 17:21:52 +0200
committerAntonin Bourguignon <abo@openerp.com>2012-09-28 17:21:52 +0200
commit8683ea9c6d18c2d6abf35d0d43b850a8a7051fd9 (patch)
tree6fd384ce3da8f844fa535a6c436d056b4df56751 /addons/mail/security/mail_security.xml
parent9f8cdcca14614e9f1c860da8b08ec390184b0459 (diff)
parent8f3f5b9bba07ed396f358c3cc0733bf20d4f8703 (diff)
[MERGE] trunk
bzr revid: abo@openerp.com-20120928152152-p6s1dzq96g0sy2sf
Diffstat (limited to 'addons/mail/security/mail_security.xml')
-rw-r--r--addons/mail/security/mail_security.xml9
1 files changed, 6 insertions, 3 deletions
diff --git a/addons/mail/security/mail_security.xml b/addons/mail/security/mail_security.xml
index 7da03664b82..b503565bd11 100644
--- a/addons/mail/security/mail_security.xml
+++ b/addons/mail/security/mail_security.xml
@@ -10,15 +10,18 @@
<field name="domain_force">['|', '|', ('public', '=', 'public'), ('message_follower_ids', 'in', [user.id]), '&amp;', ('public','=','groups'), ('group_public_id','in', [x.id for x in user.groups_id])]</field>
</record>
- <!-- This rule can not be uncommented, because we have a more wide method in mail.message. When we implement a many2one_variable field, we will be able to uncomment this. -->
-<!-- <record id="mail_message_read_partner_or_author" model="ir.rule">
+ <!--
+ This rule can not be uncommented, because we have a more wide method in mail.message. When we implement a many2one_variable field, we will be able to uncomment this.
+
+ <record id="mail_message_read_partner_or_author" model="ir.rule">
<field name="name">mail.message: read if notified or author</field>
<field name="model_id" ref="model_mail_message"/>
<field name="domain_force">['|', ('partner_ids', 'in', user.partner_id.id), ('author_id', '=', user.partner_id.id)]</field>
<field name="perm_create" eval="False"/>
<field name="perm_write" eval="False"/>
<field name="perm_unlink" eval="False"/>
- </record> -->
+ </record>
+ -->
</data>
</openerp>