SiteSetting.anonymous_posting 最低信任等级已被弃用

在配置 Translator 插件与 Libretranslate 和 Multilingual 在 3.2.0.beta3-dev 时,我经常看到此警告:

消息(已报告 2 份副本)

弃用通知:`SiteSetting.anonymous_posting_min_trust_level` 已被弃用。请改用 `SiteSetting.anonymous_posting_allowed_groups`。(将在 Discourse 3.3 中移除)
在 /var/www/discourse/lib/site_setting_extension.rb:156:in `public_send`

回溯

/var/www/discourse/lib/discourse.rb:1024:in `deprecate'
/var/www/discourse/lib/site_settings/deprecated_settings.rb:26:in `block (2 levels) in setup_deprecated_methods'
/var/www/discourse/lib/site_setting_extension.rb:156:in `public_send'
/var/www/discourse/lib/site_setting_extension.rb:156:in `block in client_settings_json_uncached'
/var/www/discourse/lib/site_setting_extension.rb:155:in `map'
/var/www/discourse/lib/site_setting_extension.rb:155:in `client_settings_json_uncached'
/var/www/discourse/lib/site_setting_extension.rb:147:in `block in client_settings_json'
/var/www/discourse/lib/cache.rb:89:in `fetch'
/var/www/discourse/lib/site_setting_extension.rb:146:in `client_settings_json'
/var/www/discourse/app/controllers/application_controller.rb:639:in `preload_anonymous_data'

这是与此更改相关的内容 :slight_smile:

2 个赞

这是一个弃用通知,不会造成任何损害。正如 Arkshine 所说,它与迁移到更多启用组的样式设置有关,因此随着这项工作的继续,您可能会看到更多。:+1:

2 个赞

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.