diff options
| author | Thibault Delavallée <tde@openerp.com> | 2015-05-29 10:22:20 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2015-07-09 11:12:50 +0200 |
| commit | 2c36354ca9c3939cc222e4fdad4adba6d3c0e315 (patch) | |
| tree | 715738733d34bf049299495397c357609c4a29ef /addons/mail/security/mail_security.xml | |
| parent | a316295e36f7c994facfee5b13f1704812a91244 (diff) | |
[RENAME] mail, website_mail, website_mail_group, various: mail.group
model has been renamed to mail.channel to prepare the slack modeling.
In future commits the mail.group model will be merged with the channel
model from im_chat. The first move is to rename mail.group into
mail.channel to have a model that will unite both features.
Diffstat (limited to 'addons/mail/security/mail_security.xml')
| -rw-r--r-- | addons/mail/security/mail_security.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/mail/security/mail_security.xml b/addons/mail/security/mail_security.xml index 2f07c659c95..c769640b10c 100644 --- a/addons/mail/security/mail_security.xml +++ b/addons/mail/security/mail_security.xml @@ -3,9 +3,9 @@ <data noupdate="1"> <!-- RULES --> - <record id="mail_group_public_and_joined" model="ir.rule"> - <field name="name">Mail.group: access only public and joined groups</field> - <field name="model_id" ref="model_mail_group"/> + <record id="mail_channel_rule" model="ir.rule"> + <field name="name">Mail.channel: access only public and joined groups</field> + <field name="model_id" ref="model_mail_channel"/> <!-- This rule has to be improved for employee only groups --> <field name="domain_force">['|', '|', ('public', '=', 'public'), ('message_follower_ids', 'in', [user.partner_id.id]), '&', ('public','=','groups'), ('group_public_id','in', [g.id for g in user.groups_id])]</field> <field name="perm_create" eval="False"/> |
