summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2017-03-08 12:48:30 +0100
committerDenis Ledoux <dle@odoo.com>2017-03-08 12:52:10 +0100
commit4d440caafd4ea42de33b6151a0f17fbac081fd49 (patch)
treeba407c8c2ab04f93ebc234ffa32a8ae8ab55e2c4 /addons
parent8428910a741277d4f3afa1b09cb2042b7b58bc58 (diff)
[FIX] mass_mailing: mailing users requires write on utm.source
Since revision 731356a1558f49a0f1cca285cf73364dc9b56ebb and the fact `mail.mass_mailing.campaign` inherits (with s) from `utm.source`, and the name of the mass mailing is took from this `utm.source` linked to the mass mailing, a mass mailing user requires the write access on the model `utm.source` to be able to change the subject of a mass mailing. As a side node, I notice there is no group applied on the base `access_utm_source` access rule of the module UTM, meaning a portal user can create `utm.source`. I am not sure if this is wanted or not. opw-710525
Diffstat (limited to 'addons')
-rw-r--r--addons/mass_mailing/security/ir.model.access.csv1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/mass_mailing/security/ir.model.access.csv b/addons/mass_mailing/security/ir.model.access.csv
index b8513df98bc..40a182fe6bd 100644
--- a/addons/mass_mailing/security/ir.model.access.csv
+++ b/addons/mass_mailing/security/ir.model.access.csv
@@ -10,3 +10,4 @@ access_mass_mailing_system,mail.mass_mailing.system,model_mail_mass_mailing,base
access_mail_mail_statistics_user,mail.mail.statistics,model_mail_mail_statistics,base.group_user,1,1,1,1
access_mail_mail_statistics_mass_mailing_user,mail.mail.statistics,model_mail_mail_statistics,mass_mailing.group_mass_mailing_user,1,1,1,1
access_mail_statistics_report,mail.statistics.report,model_mail_statistics_report,mass_mailing.group_mass_mailing_user,1,1,1,1
+access_utm_source,access_utm_source,utm.model_utm_source,mass_mailing.group_mass_mailing_user,1,1,1,0 \ No newline at end of file