[TECHNICAL-SUPPORT] LPS-32232 Announcements sent to a role that is assigned to a usergroup or an organization is not received by usergroup members 

Hi Shuyang,

this issue will be familiar to you, as once you have reviewed a very similar change, but Brian didn't merge it without tests.
József has created the tests.

Could you please review the changes?

Thanks,
Tamás