-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scheduled Task Notifications sent to all users with "receive system emails" on #39311
Comments
are you offering to help or are you going to keep commenting from the sidelines and telling everyone else what to do |
@wojtekxtx , get started! |
as I believe that I'm one of the few that use scheduled tasks, heavily on the wild, so can you clarify a little bit better your use case ? cause to me this is not a bug |
I use scheduled tasks for a few things on my client sites. Since I manage quite a few of them, and some of these scheduled tasks are site-specific, I like it when it lets me know when there is a failure. However, as they are client sites, they also have user accounts. Most do not have or need system notifications on. Some have apparently accidentally turned it on and now get emails from failed scheduled tasks even though they have no access to even see the component. This is not a nice to have, this is a flaw with how the system is set up. People who cannot see scheduled tasks should not be able to get notifications about them. |
Also it's less about how you personally use it and more about "Joomla offers this feature therefore it should work well in core". |
I am not sure, but there could be a reason for these notifications. |
Steps to reproduce the issue
Expected result
Only users with permissions to access the scheduled task component receive the notification email.
Actual result
All users with 'receive system emails' turned on receive notifications, regardless of permissions.
System information (as much as possible)
PHP 8.1, J4.2.5
Additional comments
Ideal solution would be to define which user groups get notified on a per-task level, maybe in the task permissions (because different people may need to handle different errors).
Otherwise, either via component permissions or by selecting user groups in component options.
Default should be super users only.
The text was updated successfully, but these errors were encountered: