From dda93e64de98e8b79b274d54c391ccf02701546a Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Tue, 7 Aug 2018 11:10:00 +0100 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20show=20=E2=80=98use=20my=20?= =?UTF-8?q?=E2=80=A6=E2=80=99=20link=20to=20send-only=20users?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since they’re not going to be testing the content of the messages this isn’t feature that they need. --- app/main/views/send.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/views/send.py b/app/main/views/send.py index e10b4f08d..c8aecc77b 100644 --- a/app/main/views/send.py +++ b/app/main/views/send.py @@ -438,7 +438,7 @@ def send_test_step(service_id, template_id, step_index): step_index == 0 and template.template_type != 'letter' and not (template.template_type == 'sms' and current_user.mobile_number is None) and - current_user.has_permissions('view_activity') + current_user.has_permissions('manage_templates', 'manage_service') ): skip_link = ( 'Use my {}'.format(first_column_headings[template.template_type][0]),