mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-02 17:48:50 -04:00
Refactor user permissions to use args, not list
This makes the interface a bit cleaner and less verbose.
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
If you want to turn this feature off,
|
||||
<a href="{{ url_for('.support') }}">get in touch with the GOV.UK Notify team</a>.
|
||||
</p>
|
||||
{% if current_user.has_permissions(['manage_api_keys'], admin_override=True) %}
|
||||
{% if current_user.has_permissions('manage_api_keys', admin_override=True) %}
|
||||
<p>
|
||||
You can set up callbacks for received text messages on the
|
||||
<a href="{{ url_for('.api_callbacks', service_id=current_service.id) }}">API integration page</a>.
|
||||
|
||||
Reference in New Issue
Block a user