Index: main/plugin-translationflagging/plugin.xml =================================================================== --- main/plugin-translationflagging/plugin.xml (revision 43460) +++ main/plugin-translationflagging/plugin.xml (working copy) @@ -94,6 +94,10 @@ + + + + Index: main/plugin-translationflagging/src/org/ametys/plugins/translationflagging/TranslationAlertFunction.java =================================================================== --- main/plugin-translationflagging/src/org/ametys/plugins/translationflagging/TranslationAlertFunction.java (revision 43460) +++ main/plugin-translationflagging/src/org/ametys/plugins/translationflagging/TranslationAlertFunction.java (working copy) @@ -249,8 +249,8 @@ HashSet users = new HashSet<>(); // Get the users which have the right to modify the page AND to receive the notification. - Set editors = _rightManager.getAllowedUsers("Workflow_Rights_Edition_Online", translatedPage); - Set usersToNotify = _rightManager.getAllowedUsers("TranslationFlagging_Rights_Notification", translatedPage); + Set editors = _rightManager.getAllowedUsers("Workflow_Rights_Edition_Online", translatedPage).actualAllowedUsers(Config.getInstance().getValueAsBoolean("runtime.mail.massive.sending")); + Set usersToNotify = _rightManager.getAllowedUsers("TranslationFlagging_Rights_Notification", translatedPage).actualAllowedUsers(Config.getInstance().getValueAsBoolean("runtime.mail.massive.sending")); users.addAll(editors); users.retainAll(usersToNotify);