remove all instances of db style permissions

lots of renaming of send_texts/emails/letters to send_messages, and
manage_settings/users to manage_service
This commit is contained in:
Leo Hemsted
2018-03-06 13:08:06 +00:00
parent 17061e0d06
commit 09824078dd
24 changed files with 108 additions and 109 deletions
@@ -22,7 +22,7 @@
'messages',
) }}
{% if current_user.has_permissions('send_texts', admin_override=True) %}
{% if current_user.has_permissions('send_messages', admin_override=True) %}
<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>