senaite.core
senaite.core copied to clipboard
Invalidation notification sent to LabManagers
Steps to reproduce
- Set Email notification on AR invalidation in LIMS-Setup
- Invalidate any published AR
Current behavior
Notification E-Mail is sent to all plone users that are member of group "LabManager".
Expected behavior
Notification E-Mail is sent to Lab Contacts that are Lab Supervisor or involved department managers.
This would be a more consistent behaviour, because there might be more LabManager-users than responsible persons in fact. At least as long there is no link between Lab contacts and plone users.
(In our use-case with LDAP-users, those users can be assigned with LabManager-privileges but can not be a member of the LabManager group in plone anyway.)
At least as long there is no link between Lab contacts and plone users
I feel this is an edge case and IMO, every single user from plone should be assigned to a lab contact.
Anyhow, I agree with the suggested approach.
Addendum: with PR #1109 LDAP-users are handled in the same way as plone-users.