summaryrefslogtreecommitdiffstats
path: root/i18n
diff options
context:
space:
mode:
authorGabe Van Engel <gabe@schizoid.net>2018-08-28 08:06:57 -0700
committerHarrison Healey <harrisonmhealey@gmail.com>2018-08-28 11:06:57 -0400
commit347ee1d205c95f5fd766e206cc65bfb9782a2623 (patch)
tree7ee22b4d399d0419d18f1e0d40ed35d17e45a4c6 /i18n
parent19e69681d73b0b2e30d6f2749c3e61da4eca5863 (diff)
downloadchat-347ee1d205c95f5fd766e206cc65bfb9782a2623.tar.gz
chat-347ee1d205c95f5fd766e206cc65bfb9782a2623.tar.bz2
chat-347ee1d205c95f5fd766e206cc65bfb9782a2623.zip
MM-11327: Restrict Teams by Email (#9142)
* Check a team's AllowedDomains setting before adding users to the team. * Updated AddUser tests to validate AllowedDomains restriction. * Updated variable name to match convention. * Removed AllowedDomains from team sanitization. * Update AppError's Where to match the calling function. * Added tests for user matching allowedDomains, and multi domain values of allowedDomains. * Added test to make sure we block users who have a subdomain of a whitelisted domain. * Revert "Removed AllowedDomains from team sanitization." This reverts commit 17c2afea584da40c7d769787ae86408e9700510c. * Update sanitization tests to include dockerhost, now that we enforce AllowedDomains. * Added tests to verify the interplay between the global and per team domain restrictions. * Validate AllowedDomains property against RestrictCreationToDomains before updating a team. * Remove team.AllowedDomains from sanitization. * Add i18n string for the team allowed domains restriction app error.
Diffstat (limited to 'i18n')
-rw-r--r--i18n/en.json8
1 files changed, 8 insertions, 0 deletions
diff --git a/i18n/en.json b/i18n/en.json
index a0a5e1dda..f7d687ec9 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -1655,6 +1655,10 @@
"translation": "%v joined the team."
},
{
+ "id": "api.team.join_user_to_team.allowed_domains.app_error",
+ "translation": "Email must be from a specific domain (e.g. @example.com). Please ask your team or system administrator for details."
+ },
+ {
"id": "api.team.leave.left",
"translation": "%v left the team."
},
@@ -1731,6 +1735,10 @@
"translation": "Specified user is not a member of specified team."
},
{
+ "id": "api.team.update_restricted_domains.mismatch.app_error",
+ "translation": "Restricting team to {{ .Domain }} is not allowed by the system config. Please contact your system administrator."
+ },
+ {
"id": "api.team.update_team_scheme.license.error",
"translation": "Your license does not support updating a team's scheme"
},