mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 16:18:25 -04:00
remove admin_override from all has_permissions usage
as previously pointed out, it's not used anywhere.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user