summaryrefslogtreecommitdiffstats
path: root/utils/markdown/markdown.go
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 /utils/markdown/markdown.go
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 'utils/markdown/markdown.go')
0 files changed, 0 insertions, 0 deletions