mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 13:29:42 +08:00
74fd883a89
We need to be able to generate these migrations for plugin settings as well. Also, we can use the type supervisor to get the enum data in a nicer way.
18 lines
431 B
YAML
18 lines
431 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
|
|
allow_invite_groups:
|
|
default: "11" # auto group trust_level_1
|
|
type: group_list
|
|
client: true
|
|
allow_any: false
|
|
refresh: true
|
|
validator: "AtLeastOneGroupValidator"
|