remove admin_override from all has_permissions usage

as previously pointed out, it's not used anywhere.
This commit is contained in:
Leo Hemsted
2018-03-01 10:30:17 +00:00
parent 3ae815528c
commit 4a08cf81e7
27 changed files with 108 additions and 127 deletions

View File

@@ -22,7 +22,7 @@
'messages',
) }}
{% if current_user.has_permissions('send_messages', admin_override=True) %}
{% if current_user.has_permissions('send_messages') %}
<p class="sms-message-reply-link">
<a href="{{ url_for('.conversation_reply', service_id=current_service.id, notification_id=notification_id) }}">Send a text message to this phone number</a>
</p>