diff options
| author | Fabien Pinckaers <fp@openerp.com> | 2012-09-16 19:10:15 +0200 |
|---|---|---|
| committer | Fabien Pinckaers <fp@openerp.com> | 2012-09-16 19:10:15 +0200 |
| commit | 5000fffb1e9462b01de17a7d5f07d19bc7bad3f7 (patch) | |
| tree | 710681d4aa681f84376255fe9e2c8fcb5e9ae524 /addons/note/security/ir.rule.xml | |
| parent | 8985e6aea9fc4d10609bc93270ebf97d26a89062 (diff) | |
| parent | 378b77a5e4e79ac761e6c072591fd84a295eb1bf (diff) | |
[MERGE] merging notes + small cleaning
bzr revid: fp@openerp.com-20120916171015-e0n1lq2a5c10a0nb
Diffstat (limited to 'addons/note/security/ir.rule.xml')
| -rw-r--r-- | addons/note/security/ir.rule.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/addons/note/security/ir.rule.xml b/addons/note/security/ir.rule.xml new file mode 100644 index 00000000000..3d2f0d242f6 --- /dev/null +++ b/addons/note/security/ir.rule.xml @@ -0,0 +1,12 @@ +<?xml version="1.0"?> +<openerp> +<data> + <record id="note_note_rule_global" model="ir.rule"> + <field name="name">Only followers can access a sticky notes</field> + <field model="ir.model" ref="model_note_note" name="model_id"/> + <field name="domain_force">['|',('message_follower_ids','=',False),('message_follower_ids','=',user.partner_id.id)]</field> + <field eval="True" name="global"/> + </record> +</data> +</openerp> + |
