- Issue created by @nadja_stu
- Status changed to Needs review
4 months ago 9:21am 29 August 2024 - Status changed to RTBC
4 months ago 7:46am 3 September 2024 - 🇨🇭Switzerland marco-s Switzerland🇨🇭
Looks good to me. Successfully tested on Drupal 10.3.2.
I wanted to allow a certain type of user to skip the content moderation notifications. So that when they edit/create their own content no email is triggered. But this is currently not possible. After adding a patch from issue 3162161 ✨ content_moderation_notification_mail_data_alter should allow to disable email sending Needs review I was able to make it work with some own code.
Add a permission to allow users which have the permission, to skip the notification on their own content.
The idea is, that if there is something like a 'Reviewer' or 'Master' role (the person who reviews the content before publishing), that this person doesn't need to send themself an email for their own content updates. This means notifications are skipped when the owner and the one who edits are the same person and has this permission.
Looks good to me. Successfully tested on Drupal 10.3.2.