mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 01:24:33 +08:00
DEV: Convert min_trust_to_edit_post to groups (#24840)
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_to_edit_post site setting to edit_post_allowed_groups. The old implementation will co-exist for a short period while I update any references in plugins and themes.
This commit is contained in:
@ -22,6 +22,7 @@ module SiteSettings::DeprecatedSettings
|
||||
["min_trust_to_edit_wiki_post", "edit_wiki_post_allowed_groups", false, "3.3"],
|
||||
["allow_uploaded_avatars", "uploaded_avatars_allowed_groups", false, "3.3"],
|
||||
["min_trust_to_create_topic", "create_topic_allowed_groups", false, "3.3"],
|
||||
["min_trust_to_edit_post", "edit_post_allowed_groups", false, "3.3"],
|
||||
]
|
||||
|
||||
def setup_deprecated_methods
|
||||
|
Reference in New Issue
Block a user