From f60652f37b20e14e71ed45b8431e04c708f646d7 Mon Sep 17 00:00:00 2001 From: andryyy Date: Sat, 30 Oct 2021 20:01:26 +0200 Subject: [PATCH] [Web] Show protocol and app access in user overview --- data/web/css/site/user.css | 6 ++++++ data/web/lang/lang.de.json | 1 + data/web/lang/lang.en.json | 1 + data/web/templates/user/tab-user-auth.twig | 12 ++++++++++++ 4 files changed, 20 insertions(+) diff --git a/data/web/css/site/user.css b/data/web/css/site/user.css index 0ec07b74..27a438ca 100644 --- a/data/web/css/site/user.css +++ b/data/web/css/site/user.css @@ -127,3 +127,9 @@ border-bottom-width: 3px; margin-top:2px; margin-right:10px; } +.label-protocol-access { + line-height: 2; +} +.help-block-mt-0 { + margin-top: 0px; +} diff --git a/data/web/lang/lang.de.json b/data/web/lang/lang.de.json index e5e067dc..6aa28f23 100644 --- a/data/web/lang/lang.de.json +++ b/data/web/lang/lang.de.json @@ -1011,6 +1011,7 @@ "delete_ays": "Soll der Löschvorgang wirklich ausgeführt werden?", "direct_aliases": "Direkte Alias-Adressen", "direct_aliases_desc": "Nur direkte Alias-Adressen werden für benutzerdefinierte Einstellungen berücksichtigt.", + "direct_protocol_access": "Der Hauptbenutzer hat direkten, externen Zugriff auf folgende Protokolle und Anwendungen. Diese Einstellung wird vom Administrator gesteuert. App-Passwörter können verwendet werden, um individuelle Zugänge für Protokolle und Anwendungen zu erstellen.
Der Button \"In Webmail einloggen\" kann unabhängig der Einstellung immer verwendet werden.", "eas_reset": "ActiveSync-Geräte-Cache zurücksetzen", "eas_reset_help": "In vielen Fällen kann ein ActiveSync-Profil durch das Zurücksetzen des Caches repariert werden.
Vorsicht: Alle Elemente werden erneut heruntergeladen!", "eas_reset_now": "Jetzt zurücksetzen", diff --git a/data/web/lang/lang.en.json b/data/web/lang/lang.en.json index 052662dc..e2d4779a 100644 --- a/data/web/lang/lang.en.json +++ b/data/web/lang/lang.en.json @@ -1053,6 +1053,7 @@ "delete_ays": "Please confirm the deletion process.", "direct_aliases": "Direct alias addresses", "direct_aliases_desc": "Direct alias addresses are affected by spam filter and TLS policy settings.", + "direct_protocol_access": "This mailbox user has direct, external access to the following protocols and applications. This setting is controlled by your administrator. App passwords can be created to grant access to individual protocols and applications.
The \"Login to webmail\" button provides single-sign-on to SOGo and is always available.", "eas_reset": "Reset ActiveSync device cache", "eas_reset_help": "In many cases a device cache reset will help to recover a broken ActiveSync profile.
Attention: All elements will be redownloaded!", "eas_reset_now": "Reset now", diff --git a/data/web/templates/user/tab-user-auth.twig b/data/web/templates/user/tab-user-auth.twig index 7dc12f63..dfc397f8 100644 --- a/data/web/templates/user/tab-user-auth.twig +++ b/data/web/templates/user/tab-user-auth.twig @@ -18,6 +18,18 @@
+
+ +
+

{{ lang.user.direct_protocol_access|raw }}

+ {% if mailboxdata.attributes.imap_access == 1 %}
IMAP
{% else %}
IMAP
{% endif %} + {% if mailboxdata.attributes.smtp_access == 1 %}
SMTP
{% else %}
SMTP
{% endif %} + {% if mailboxdata.attributes.sieve_access == 1 %}
Sieve
{% else %}
Sieve
{% endif %} + {% if mailboxdata.attributes.pop3_access == 1 %}
POP3
{% else %}
POP3
{% endif %} + {% if mailboxdata.attributes.sogo_access == 1 %}
SOGo
{% else %}
SOGo
{% endif %} +
+
+
{% endif %}
{{ lang.user.in_use }}: