Add Suppression List Removal Feature for Service Admins#2528
Draft
Add Suppression List Removal Feature for Service Admins#2528
Conversation
🧪 Review environmenthttps://hkpfm4soxvbjgk3ym5tid25ate0ikfaw.lambda-url.ca-central-1.on.aws/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary | Résumé
This PR adds a backend integration allowing service admins to remove email addresses from the AWS SES suppression list through the notification-admin UI, with proper validation and audit trails.
Problem | Problème
Users on the AWS SES suppression list cannot receive emails from Notify, including password reset emails. This happens when:
Solution | Solution
New Features
Suppression List Management Page: New UI under Service Settings → Suppression list
Email Validation: Only allows removal of emails the service has previously sent to
API Integration: Calls notification-api's /service/{service_id}/remove-from-suppression-list endpoint
Error Handling: Comprehensive error messages for different failure scenarios
Audit Trail: All removals create Freshdesk tickets automatically (handled by API)
Dependencies
This PR depends on cds-snc/notification-api#2746