Files
odoo_source/addons/mail/security/ir.model.access.csv
T
Adrien Peiffer (ACSONE) 0b4bd7a6d1 [FIX] mail: allow to delete mail alias all employees
It was allowed for all employees to read, create and edit
mail aliases. Only the deletion was prevented.
Nevertheless, giving the possibility to rename a mail alias
is allmost seen as a deletion, as you can rename it to something
that just won't be used anymore. Therefore, we can consider
to give any employees the rights to delete mail aliases.

Besides, not allowing the unlink leads to issues when the
mail alias is associated to a record the user wants to delete.
He was able to create the record, and its mail aliases, but
he could not remove the record, as he was not allowed to remove
the mail alias.
For instance, an HR officer was able to create a job position,
with its mail alias, but couldn't remove the job position he created.

Closes #8466
2015-09-21 14:26:37 +02:00

1.7 KiB

1idnamemodel_id:idgroup_id:idperm_readperm_writeperm_createperm_unlink
2access_mail_message_allmail.message.allmodel_mail_message1000
3access_mail_message_usermail.message.usermodel_mail_messagebase.group_user1111
4access_mail_mail_allmail.mail.allmodel_mail_mail1000
5access_mail_mail_usermail.mail.usermodel_mail_mailbase.group_user1110
6access_mail_mail_systemmail.mail.systemmodel_mail_mailbase.group_system1111
7access_mail_followers_allmail.followers.allmodel_mail_followers1000
8access_mail_followers_usermail.followers.usermodel_mail_followersbase.group_user1100
9access_mail_followers_systemmail.followers.systemmodel_mail_followersbase.group_system1111
10access_mail_notification_allmail.notification.allmodel_mail_notification1000
11access_mail_notification_usermail.notification.usermodel_mail_notificationbase.group_user1110
12access_mail_notification_systemmail.notification.systemmodel_mail_notificationbase.group_system1111
13access_mail_group_allmail.group.allmodel_mail_group1000
14access_mail_group_usermail.group.usermodel_mail_groupbase.group_user1111
15access_mail_alias_allmail.alias.allmodel_mail_alias1000
16access_mail_alias_usermail.alias.usermodel_mail_aliasbase.group_user1111
17access_mail_alias_systemmail.alias.systemmodel_mail_aliasbase.group_system1111
18access_mail_message_subtype_allmail.message.subtype.allmodel_mail_message_subtype1000
19access_mail_message_subtype_systemmail.message.subtype.systemmodel_mail_message_subtypebase.group_system1111
20access_mail_thread_allmail.thread.allmodel_mail_thread1111
21access_publisher_warranty_contract_allpublisher.warranty.contract.allmodel_publisher_warranty_contract1111