mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 23:41:17 -05:00
Give new services the upload letters permission
This will switch on this feature for new services. After this we will: - give existing services this permission with a database migration - remove this permission from the codebase entirely so that everyone has this feature and can’t switch it off
This commit is contained in:
@@ -48,6 +48,7 @@ from app.models import (
|
||||
NOTIFICATION_PERMANENT_FAILURE,
|
||||
SMS_TYPE,
|
||||
LETTER_TYPE,
|
||||
UPLOAD_LETTERS,
|
||||
)
|
||||
from app.utils import email_address_is_nhs, escape_special_characters, get_london_midnight_in_utc, midnight_n_days_ago
|
||||
|
||||
@@ -56,6 +57,7 @@ DEFAULT_SERVICE_PERMISSIONS = [
|
||||
EMAIL_TYPE,
|
||||
LETTER_TYPE,
|
||||
INTERNATIONAL_SMS_TYPE,
|
||||
UPLOAD_LETTERS,
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user