MEDIUM story-push-notifications-alerts-organization-administrator-010 8 pts

User Story

As a Organization Administrator
I want to configure the notification scenario rules for my organization, including thresholds for inactivity reminders, follow-up windows, and which scenario categories are active for my peer mentors and coordinators
So that So that the notification system reflects my organization's specific operational processes and compliance requirements without requiring an app update each time a policy changes

Acceptance Criteria

  • Given an organization administrator navigates to Admin Settings, when they access the Notification Scenarios section, then they see all configurable scenario parameters with their current values and defaults clearly displayed
  • Given an administrator changes the inactivity reminder threshold from 14 to 7 days, when the change is saved, then the next Edge Function evaluation uses 7 days as the threshold for all peer mentors in that organization
  • Given an administrator disables a scenario category globally (e.g., disables 'Inactivity Reminders' for all users), when a qualifying event occurs, then no users in that organization receive that notification type regardless of their individual preferences
  • Given an administrator changes a configuration parameter, when the change is saved, then the action is recorded in the audit log with the administrator's user ID, timestamp, parameter changed, and old vs. new values
  • Given an administrator sets the assignment follow-up threshold to 5 days, when 5 days elapse without acknowledgement, then the follow-up notification is triggered instead of waiting 10 days

Business Value

Different organizations have different operational rhythms and policy requirements. HLF's coordinators may need 7-day follow-up cycles where Blindeforbundet uses 10-day cycles. Hardcoding these values would require an app release for every policy adjustment, which is impractical. Server-side configurable scenario rules give organization administrators the autonomy to tailor the notification system to their processes, reducing the operational gap between what the app does and what the organization needs.

This drives adoption by ensuring the notification behavior feels designed for each organization's specific workflows.