servicepermission enum part 5

This commit is contained in:
Beverly Nguyen
2025-07-21 16:37:55 -07:00
parent 8d5976a364
commit 32ca1abe9b
28 changed files with 119 additions and 98 deletions

View File

@@ -94,7 +94,7 @@ def view_notification(service_id, notification_id, error_message=None):
updated_at=notification["sent_at"],
help=get_help_argument(),
notification_id=notification["id"],
can_receive_inbound=(current_service.has_permission("inbound_sms")),
can_receive_inbound=(current_service.has_permission(ServicePermission.INBOUND_SMS)),
sent_with_test_key=(notification.get("key_type") == KEY_TYPE_TEST),
back_link=back_link,
)