Alert boxes directed to all Logged In users works fine, but when I set it for only the role student, it doesn't show up.
I suppose the value in the setting should be the short name of role that should get the alert?
Release 3.9.1.2, version 2020073109 on Moodle 3.9.7 (Build: 20210510)
My settings: