mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 07:11:34 +08:00
DEV: Convert min_trust_level_to_allow_user_card_background to groups (#24891)
We're changing the implementation of trust levels to use groups. Part of this is to have site settings that reference trust levels use groups instead. It converts the min_trust_level_to_allow_user_card_background site setting to user_card_background_allowed_groups. Nothing of note here. This is used in exactly one place, and there's no fallout.
This commit is contained in:
@ -25,6 +25,12 @@ module SiteSettings::DeprecatedSettings
|
||||
["min_trust_to_edit_post", "edit_post_allowed_groups", false, "3.3"],
|
||||
["min_trust_to_flag_posts", "flag_post_allowed_groups", false, "3.3"],
|
||||
["tl4_delete_posts_and_topics", "delete_all_posts_and_topics_allowed_groups", false, "3.3"],
|
||||
[
|
||||
"min_trust_level_to_allow_user_card_background",
|
||||
"user_card_background_allowed_groups",
|
||||
false,
|
||||
"3.3",
|
||||
],
|
||||
]
|
||||
|
||||
def setup_deprecated_methods
|
||||
|
Reference in New Issue
Block a user