User tests: Successful: Unsuccessful:
Follow-up for PR #45721
Until now, recipients of update notifications are defined as a comma separated list of email addresses.
This means: First find the email-addresses of super users, then maintain the list when super users leave or are added or when they change emailaddress.
This PR works like in AutoUpdate notification: #45721
All Super Users get the update notification. Additionally other user groups can be added. Recipients must be active and have the sendEmail Option allowed.
The Updatescript will remove the old email option from parameters in the table. If there were old entries, they will be deleted. These entries were a subset of super users, so there is no break.
Run the update script. The mysql script is tested, the postgresql script is generated by AI and needs a tester with these skills.
Make different users, different user groups, they can be empty, have super users not, have sendEmail activated or not and can be blocked or not.
Go to scheduled tasks and open the Update Notification Plugin. Check if user Groups can be added.
Testing if the email addresses now are correct is tricky.
Comma separated list of super users or the super user (id = 8) per default

It is possible to select user groups from a list. Super Users are added per default and must notr be selected.

Please select:
Documentation link for docs.joomla.org: [(https://docs.joomla.org/J3.x:Plugin_Joomla_Update_Notification#Super_User_Email]
No documentation changes for manual.joomla.org needed
| Status | New | ⇒ | Pending |
| Category | ⇒ | SQL Administration com_admin Postgresql Language & Strings Front End Plugins |
| Labels |
Added:
Language Change
PR-5.4-dev
|
||
I made this as draft, so we can discuss.
We should have equal behaviour here and for automaded update notifications.
If we don't want to inform all super users, then we could make a users selection of all users who have the super user rights or sendEmail option = "on".
On the one hand it is better if only one super user is responsible, on the other hand it could be that nobody gets a notification, as it is now when super users change.
I am ok with J6.0, release managers can decide.
My only concern is that this proposes a change of behaviour on existing sites with no notification
What if there is another parameter using a radio for "Send to list of email addresses" or "Send to user groups" (probably different wording). Both comma separated list and group selection fields can exist and be toggled with a showon. By default it keeps the comma separated list on so it doesn't break current installations, but still allows you to set the functionality to send to a group instead.
👍 I am in favour of standardising the notification settings for update notifications so that they can be configured by groups, as is already the case for advanced scheduled tasks configurations and is new with 5.4 for automated updates.
@travisrisner Even this is I nice idea to avoid the break, I don't like adding another parameter like ‘Send to list of email addresses' as it complicates things. Sending to groups with 'Super Users' group as default is understandable and reduce Joomla administration with handling permissions in one place. And if we have a parallel opportunity to send by email addresses we have to document, test and maintain this forever.
As already written, this is a break for existing sites, they have email addresses configured, even if there won't be many of them. The effect would be that not the configured email addresses, but all superusers with receive email configured would receive the emails. I see three solutions:
@brianteeman Yes, number '1. Document' we have todo in each case.
And I would tend to '2. Warning' if possible. I think there are too few use cases to '3. Implement, test and maintain the seamless transition'. And the effect is only that now all members of the Super Users group get the email.
If you do this as a post-installation message then you can display it conditionally only to those sites that are effected by this change in behaviour. Better than burying this breaking change in a note in the documentation.
Thank you for your opinin. I think that this is the best solution.
And I would tend to '2. Warning' if possible. I think there are too few use cases to '3. Implement, test and maintain the seamless transition'. And the effect is only that now all members of the Super Users group get the email.
and postinstall message will be a new challenge.
| Status | Pending | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-08-31 21:36:10 |
| Closed_By | ⇒ | chmst |
There are still questions open:
We accept only super user groups for these messages.
Therefor the select field can only show super user groups and must get an additional attribute for superusers only.
For existing user groups we need this: (also see comments above)
The owners of the comma separated addresses have to be added into a newly generated usergroup with permission "core.admin".
The original input field then can be removed
a ) This new usergroup needs a name which does not exist in the system. I could use "super user update notification" if this does not exist yet or use a time-date suffix for the super user group.
b) Is it possible to do this during an update, using a update script? @richard67.
As Suggested, a postinstall message additionally to the information in release notes will be added.
I close this one and make a new PR with the better code from the autoupdate PR. Thanks for the hints @HLeithner!
Probably better for 6.0 or 6.1?
Do I read this correct.
Before this PR a site owner could set a limited number of super users to receive this specific email but now all super users will receive the email.
If I read it correctly and this is the case then this is a change in behaviour on an existing site that should not happen in a minor release