We need the ability to set alert criteria for incident reports. This will flag students who may be at risk for administrator and educator review.
User Stories:
As a district admin, I want to set district-wide criteria to alert me when students are at risk, so I can ensure we identify students quickly & consistently
As a user, I want to view the alert criteria, I can understand what signifies a student might be at risk
Acceptance Criteria:
Given I am a user marked “is admin role” and I have permission to view settings, I will see this section
Give I am a Role 7 user, I will have permission to edit the alerts
Given I am a Role 5 user at a district with multiple levels, I will have permission to view but not edit the alerts
Given I am a Role 5 user at a district with a single level, I will have permission to edit the alerts
DESIGN: https://www.figma.com/file/gdwMnbpudJxuzVrORrOGvd/Ed-Member-Site-UX?node-id=2344%3A0
DesignUI
We will add a tab for Alerts to Account Settings
On this screen, we will show the alert settings for incidents (more settings to come in the future)
Clicking on the boxes will allow the user to edit the number of incidents and the time period.
The user may type a number
The user may select between day(s), week(s), month(s), and year(s).
The changes will be automatically saved.
We will show the first and last name of the user who made the most recent changes & the date the change was last made.
Business Rules
Any user marked “is admin role” will see this section.
Only the highest level admin roles will have access to edit the alert criterion. For accounts with multiple levels, only admins (marked “is admin role”) with access to all buildings Role 7 users will have permission to edit the alert criterion. For accounts without multiple levels, any admin role (marked “is admin role”) Role 5 user will have permission to edit the alert criterion.
The default criterion will be Alert when 2 incidents are reported in a 1 month period.