DEV: Convert min_trust_to_post_links to groups (#25298)

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_post_links  site setting to post_links_allowed_groups.

This isn't used by any of our plugins or themes, so very little fallout.
This commit is contained in:
Ted Johansson
2024-01-18 14:08:40 +08:00
committed by GitHub
parent 20c5f7aef8
commit fb087b7ff6
17 changed files with 89 additions and 43 deletions

View File

@ -854,7 +854,7 @@ RSpec.describe PostRevisor do
end
describe "admin editing a new user's post" do
fab!(:changed_by) { Fabricate(:admin) }
fab!(:changed_by) { Fabricate(:admin, refresh_auto_groups: true) }
before do
SiteSetting.newuser_max_embedded_media = 0