EE: Add the ability to restrict the user roles that can send team invites (#3442)

Этот коммит содержится в:
Joram Wilander
2016-06-29 14:16:17 -04:00
коммит произвёл GitHub
родитель 4c9b48da8f
Коммит b97b3ae617
16 изменённых файлов: 259 добавлений и 48 удалений

Просмотреть файл

@@ -210,6 +210,7 @@ func getClientConfig(c *model.Config) map[string]string {
props["EnableOpenServer"] = strconv.FormatBool(*c.TeamSettings.EnableOpenServer)
props["RestrictTeamNames"] = strconv.FormatBool(*c.TeamSettings.RestrictTeamNames)
props["RestrictDirectMessage"] = *c.TeamSettings.RestrictDirectMessage
props["RestrictTeamInvite"] = *c.TeamSettings.RestrictTeamInvite
props["EnableOAuthServiceProvider"] = strconv.FormatBool(c.ServiceSettings.EnableOAuthServiceProvider)
props["SegmentDeveloperKey"] = c.ServiceSettings.SegmentDeveloperKey