diff --git a/mail/js/app.js b/mail/js/app.js index 17a392ec4f..a29954acb1 100644 --- a/mail/js/app.js +++ b/mail/js/app.js @@ -2610,10 +2610,14 @@ app.classes.mail = AppJS.extend( if (rights.split("").sort().toString() == this.aclCommonRights[i].split("").sort().toString()) rights = this.aclCommonRights[i]; } - if (jQuery.inArray(rights,this.aclCommonRights ) == -1) + if (jQuery.inArray(rights,this.aclCommonRights ) == -1 && rights !='lrswipcda') { aclCommonWidget.set_value('custom'); } + else if (rights =='lrswipcda') + { + aclCommonWidget.set_value('akxeilprwts'); + } else { aclCommonWidget.set_value(rights);