diff options
| author | Thibault Delavallée <tde@openerp.com> | 2015-08-04 15:02:35 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2015-08-21 12:11:56 +0200 |
| commit | 88b8cd058713bfad2942f7e7434c34b6c1a6e7da (patch) | |
| tree | 265918316a803d279883bc94c5c47e69045c66b1 /addons/mail/security | |
| parent | c02982b4c46c107008d3bedc73e45248d8067b90 (diff) | |
[REF] mail: model update for NewChatter
Main changes :
- mail.notification model is removed. People do not receive notifications
anymore. Instead two ways of following documents exist
- using a channel; messages will be displayed on the channel itself
in a near future commit
- following with its partner; messages will all be considered as
needaction, using a new m2m table. People should receive less
needaction messages by following less records by themselves.
There is no more read / unread state anymore. Instead only needaction
messages are considered. Todo (Favorites) messages still exist, and are
stores on a new m2m table instead of using decorated notifciations.
- the main filter for documents is not message_unread anymore, but
message_needaction. A lot of views and filters have been updated
accordingly.
- the vote feature has been removed
Diffstat (limited to 'addons/mail/security')
| -rw-r--r-- | addons/mail/security/ir.model.access.csv | 4 | ||||
| -rw-r--r-- | addons/mail/security/mail_security.xml | 11 |
2 files changed, 2 insertions, 13 deletions
diff --git a/addons/mail/security/ir.model.access.csv b/addons/mail/security/ir.model.access.csv index aa9c58498e1..13410b21185 100644 --- a/addons/mail/security/ir.model.access.csv +++ b/addons/mail/security/ir.model.access.csv @@ -10,10 +10,6 @@ access_mail_followers_all,mail.followers.all,model_mail_followers,,1,0,0,0 access_mail_followers_portal,mail.followers.portal,model_mail_followers,base.group_portal,1,1,1,0
access_mail_followers_user,mail.followers.user,model_mail_followers,base.group_user,1,1,1,0
access_mail_followers_system,mail.followers.system,model_mail_followers,base.group_system,1,1,1,1
-access_mail_notification_all,mail.notification.all,model_mail_notification,,1,0,0,0
-access_mail_notification_portal,mail.notification.portal,model_mail_notification,base.group_portal,1,1,1,0
-access_mail_notification_user,mail.notification.user,model_mail_notification,base.group_user,1,1,1,0
-access_mail_notification_system,mail.notification.system,model_mail_notification,base.group_system,1,1,1,1
access_mail_channel_all,mail.group.all,model_mail_channel,,1,0,0,0
access_mail_channel_user,mail.group.user,model_mail_channel,base.group_user,1,1,1,1
access_mail_channel_partner_public,mail.channel.partner.public,model_mail_channel_partner,base.group_public,1,0,0,0
diff --git a/addons/mail/security/mail_security.xml b/addons/mail/security/mail_security.xml index c2b9ca230b9..40263e93b87 100644 --- a/addons/mail/security/mail_security.xml +++ b/addons/mail/security/mail_security.xml @@ -24,21 +24,14 @@ </record> <!-- If technical rights then read and write others subscriptions --> - <record id="mail_followers_read_write_others" model="ir.rule"> + <record id="mail_followers_rule_write_admin" model="ir.rule"> <field name="name">mail.followers: read and write others entries</field> <field name="model_id" ref="model_mail_followers"/> <field name="groups" eval="[(4, ref('base.group_no_one'))]"/> <field name="domain_force">[]</field> <field name="perm_create" eval="False"/> <field name="perm_unlink" eval="False"/> - </record> - - <record id="mail_notification_read_write_own" model="ir.rule"> - <field name="name">mail.notification: read and write its own entries</field> - <field name="model_id" ref="model_mail_notification"/> - <field name="domain_force">[('partner_id', '=', user.partner_id.id)]</field> - <field name="perm_create" eval="False"/> - <field name="perm_unlink" eval="False"/> + <field name="perm_read" eval="False"/> </record> <record id="mail_message_subtype_rule_public" model="ir.rule"> |
