From d132de4400c181d69c8d560a5f1e33e95e6d8586 Mon Sep 17 00:00:00 2001 From: =Corey Hulen Date: Tue, 25 Aug 2015 14:28:02 -0700 Subject: Fixes PL-1 added ability to disable team creation --- utils/config.go | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'utils/config.go') diff --git a/utils/config.go b/utils/config.go index 46daf203c..9e5de93bf 100644 --- a/utils/config.go +++ b/utils/config.go @@ -109,16 +109,17 @@ type PrivacySettings struct { } type TeamSettings struct { - MaxUsersPerTeam int - AllowPublicLink bool - AllowValetDefault bool - TermsLink string - PrivacyLink string - AboutLink string - HelpLink string - ReportProblemLink string - TourLink string - DefaultThemeColor string + MaxUsersPerTeam int + AllowPublicLink bool + AllowValetDefault bool + TermsLink string + PrivacyLink string + AboutLink string + HelpLink string + ReportProblemLink string + TourLink string + DefaultThemeColor string + DisableTeamCreation bool } type Config struct { -- cgit v1.2.3-1-g7c22 From 67bc12e4b72960ce5413a6267f11d505d581f1e7 Mon Sep 17 00:00:00 2001 From: =Corey Hulen Date: Tue, 25 Aug 2015 14:40:16 -0700 Subject: Fixes PL-3 Restrict team creation to specific domains --- utils/config.go | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'utils/config.go') diff --git a/utils/config.go b/utils/config.go index 9e5de93bf..36301264c 100644 --- a/utils/config.go +++ b/utils/config.go @@ -109,17 +109,18 @@ type PrivacySettings struct { } type TeamSettings struct { - MaxUsersPerTeam int - AllowPublicLink bool - AllowValetDefault bool - TermsLink string - PrivacyLink string - AboutLink string - HelpLink string - ReportProblemLink string - TourLink string - DefaultThemeColor string - DisableTeamCreation bool + MaxUsersPerTeam int + AllowPublicLink bool + AllowValetDefault bool + TermsLink string + PrivacyLink string + AboutLink string + HelpLink string + ReportProblemLink string + TourLink string + DefaultThemeColor string + DisableTeamCreation bool + RestrictCreationToDomains string } type Config struct { -- cgit v1.2.3-1-g7c22