canvas-lms/app/models/alerts
Simon Williams 4ca649cb26 don't send account alerts to rejected enrollments
we'll still send them to invited or pending enrollments which is
a little weird, but that is how our default scopes are set up, so
I erred on the side of just re-using them.

fixes CNVS-20219

test plan:
- in a course with a user who has a rejected teacher enrollment
- set up an account alert and trigger the condition
- it should not send to that rejected enrollment

Change-Id: I62ea17aa4bc84b7a53f3d7a65d5522bd925eddaa
Reviewed-on: https://gerrit.instructure.com/53543
Tested-by: Jenkins
Reviewed-by: Mike Nomitch <mnomitch@instructure.com>
QA-Review: Deepeeca Soundarrajan <dsoundarrajan@instructure.com>
Product-Review: Simon Williams <simon@instructure.com>
2015-05-11 22:58:11 +00:00
..
delayed_alert_sender.rb don't send account alerts to rejected enrollments 2015-05-11 22:58:11 +00:00
interaction.rb fix teacher interaction report to work with submission comments 2015-02-06 18:54:59 +00:00
ungraded_count.rb Refactor alert creation to remove unnecessary code 2014-05-02 21:48:42 +00:00
ungraded_timespan.rb Refactor alert creation to remove unnecessary code 2014-05-02 21:48:42 +00:00
user_note.rb remove rails 2 support 2014-08-06 18:16:19 +00:00