Allow org admin to send messages within a service

This commit is contained in:
Beverly Nguyen
2025-12-08 13:29:01 -08:00
parent dc14da9638
commit b60614ec6c
3 changed files with 6 additions and 6 deletions

View File

@@ -846,7 +846,7 @@ def get_skip_link(step_index, template):
and step_index == 0
and template.template_type in ("sms", "email")
and not (template.template_type == "sms" and current_user.mobile_number is None)
and current_user.has_permissions(ServicePermission.SEND_MESSAGES)
and current_user.has_permissions(ServicePermission.SEND_MESSAGES, allow_org_user=True)
):
return (
"Use my {}".format(first_column_headings[template.template_type][0]),