Add trust_level_1 to default chat_allowed_groups

By doing this, we will:

1. Have an open, but safe default
    People reach `@trust_level_1` pretty quickly, but `@trust_level_0` is still excluded by default, to limit new accounts joining and immediately spamming or otherwise abusing channe.s
2. Make it easier to change the default
    By keeping `@staff` in the default, we make it easy for admins to remove `@trust_level_1` and optionally add additional groups to their liking.
This commit is contained in:
David McClure 2022-11-07 12:39:10 -05:00 committed by GitHub
parent 782f43cc55
commit a5786c3ac2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ plugins:
client: true
type: group_list
list_type: compact
default: "3" # 3 is staff group id
default: "3|11" # 3: @staff, 11: @trust_level_1
allow_any: false
refresh: true
needs_chat_seeded:
@ -81,14 +81,14 @@ plugins:
hidden: true
client: true
direct_message_enabled_groups:
default: "11" # auto group trust_level_1
default: "11" # @trust_level_1
type: group_list
client: true
allow_any: false
refresh: true
validator: "DirectMessageEnabledGroupsValidator"
chat_message_flag_allowed_groups:
default: "11" # auto group trust_level_1
default: "11" # @trust_level_1
type: group_list
client: true
allow_any: false