Этот коммит содержится в:
Christopher Speller
2017-04-17 15:08:56 -04:00
родитель 742bab6429 3097453394
Коммит 92d8fa4aa8
47 изменённых файлов: 1250 добавлений и 1142 удалений

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

@@ -369,7 +369,6 @@ func InitalizeRoles() {
PERMISSION_CREATE_DIRECT_CHANNEL.Id,
PERMISSION_CREATE_GROUP_CHANNEL.Id,
PERMISSION_PERMANENT_DELETE_USER.Id,
PERMISSION_MANAGE_OAUTH.Id,
},
}
BuiltInRoles[ROLE_SYSTEM_USER.Id] = ROLE_SYSTEM_USER

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

@@ -699,7 +699,7 @@ func (o *Config) SetDefaults() {
}
if !IsSafeLink(o.SupportSettings.TermsOfServiceLink) {
o.SupportSettings.TermsOfServiceLink = nil
*o.SupportSettings.TermsOfServiceLink = ""
}
if o.SupportSettings.TermsOfServiceLink == nil {
@@ -708,7 +708,7 @@ func (o *Config) SetDefaults() {
}
if !IsSafeLink(o.SupportSettings.PrivacyPolicyLink) {
o.SupportSettings.PrivacyPolicyLink = nil
*o.SupportSettings.PrivacyPolicyLink = ""
}
if o.SupportSettings.PrivacyPolicyLink == nil {
@@ -717,7 +717,7 @@ func (o *Config) SetDefaults() {
}
if !IsSafeLink(o.SupportSettings.AboutLink) {
o.SupportSettings.AboutLink = nil
*o.SupportSettings.AboutLink = ""
}
if o.SupportSettings.AboutLink == nil {
@@ -726,7 +726,7 @@ func (o *Config) SetDefaults() {
}
if !IsSafeLink(o.SupportSettings.HelpLink) {
o.SupportSettings.HelpLink = nil
*o.SupportSettings.HelpLink = ""
}
if o.SupportSettings.HelpLink == nil {
@@ -735,7 +735,7 @@ func (o *Config) SetDefaults() {
}
if !IsSafeLink(o.SupportSettings.ReportAProblemLink) {
o.SupportSettings.ReportAProblemLink = nil
*o.SupportSettings.ReportAProblemLink = ""
}
if o.SupportSettings.ReportAProblemLink == nil {