From c0c2f417039895f0eaed9ca3234d7433fd885dfc Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 9 Apr 2020 16:06:15 +0200 Subject: [PATCH] Add a note about the need to keep some apps exposed to visitors if using external clients --- src/locales/en.json | 1 + src/views/user/group_list.ms | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/locales/en.json b/src/locales/en.json index 4f26a469..c81383ff 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -154,6 +154,7 @@ "group_new": "New group", "group_explain_all_users": "This is a special group containing all users accounts on the server", "group_explain_visitors": "This is a special group representing anonymous visitors", + "group_explain_visitors_needed_for_external_client": "Be careful that you need to keep some applications allowed to visitors if you intend to use them with external clients. For example, this is the case for Nextcloud if you want intend to use a synchronization client on your smartphone or desktop computer.", "group_specific_permissions": "User specific permissions", "groups_and_permissions": "Groups and permissions", "groups_and_permissions_manage": "Manage groups and permissions", diff --git a/src/views/user/group_list.ms b/src/views/user/group_list.ms index 7b68e404..5fcb7646 100644 --- a/src/views/user/group_list.ms +++ b/src/views/user/group_list.ms @@ -69,6 +69,9 @@
{{#if special}}
{{t (concat 'group_explain_' @key)}}
+ {{#if (eq @key 'visitors')}} +
{{t 'group_explain_visitors_needed_for_external_client'}}
+ {{/if}} {{else}} {{> labelsLine display=../displayUser icon="user" type="member" items=members inv=membersInv group=@key}} {{/if}}