mirror of
https://github.com/discourse/discourse.git
synced 2024-12-21 18:23:42 +08:00
89705be722
When setting an old TL based site setting in the console e.g.: SiteSetting.min_trust_level_to_allow_ignore = TrustLevel[3] We will silently convert this to the corresponding Group::AUTO_GROUP. And vice-versa, when we read the value on the old setting, we will automatically get the lowest trust level corresponding to the lowest auto group for the new setting in the database.
11 lines
244 B
YAML
11 lines
244 B
YAML
category1:
|
|
use_https: true
|
|
min_trust_level_to_allow_invite:
|
|
default: 2
|
|
enum: "TrustLevelSetting"
|
|
hidden: true
|
|
min_trust_level_to_allow_invite_tl_and_staff:
|
|
default: 2
|
|
enum: "TrustLevelAndStaffSetting"
|
|
hidden: true
|