{% extends 'base.html' %} {% block body %}

{{ _('Cancel') }} {% if service.id %} {{_('Delete')}} {% endif %}

{{ _('If disabled, the service always uses the primary e-mail address.') }}
{{ _('Some services notify users about changes to their e-mail address. Modifying this setting immediatly affects the e-mail addresses of all users and can cause masses of notification e-mails.') }}

{{ _('Overwrite remailer setting for specific users') }}

{{ _('Useful for testing remailer before enabling it for all users. Specify users as a comma-seperated list of login names.') }}
{% if service.id %}

OAuth2 Clients

{{_("New")}}

{% for client in service.oauth2_clients|sort(attribute='client_id') %} {% endfor %}
{{ _('Client ID') }}
{{ client.client_id }}

API Clients

{{_("New")}}

{% for client in service.api_clients|sort(attribute='auth_username') %} {% endfor %}
{{ _('Name') }} {{ _('Permissions') }}
{{ client.auth_username }} {% for perm in ['users', 'checkpassword', 'mail_aliases', 'remailer'] if client.has_permission(perm) %} {{ perm }}{{ ',' if not loop.last }} {% endfor %}
{% endif %}
{% endblock %}