-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add service setting to change annual limits for platform admins #1976
Conversation
🧪 Review environmenthttps://34bdfghqzreicubogj33y6fxim0vbcsh.lambda-url.ca-central-1.on.aws/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM in general, works as expected with the API PR.
Just the nagging issue of the formatting but that doesnt impact this functionally.
app/main/views/service_settings.py
Outdated
replace=reply_to_email_id, | ||
) | ||
) | ||
|
||
if reply_to_email_address and request.endpoint == "main.service_confirm_delete_email_reply_to": | ||
if not reply_to_email_address["is_default"]: | ||
flash(_("Are you sure you want to delete this reply-to email address?"), "delete") | ||
flash( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still confused why formatting is constantly changing, as it creates a lot of noise. Is it possible our rules keep changing?
Summary | Résumé
This PR adds capability for platform admins to set annual email and sms limits for a service. It also changes the SMS and Email annual limit displays so they are no longer hard coded but fetched from the DB.
Test instructions | Instructions pour tester la modification
All
service-{id}
keys need to be cleared when deployed to staging / prodflask db upgrade