discourse/db/fixtures/002_groups.rb
2023-01-09 11:59:41 +00:00

9 lines
224 B
Ruby

# frozen_string_literal: true
Group.ensure_automatic_groups!
if g = Group.find_by(name: "trust_level_5", id: 15)
g.destroy!
end
Group.where(name: "everyone").update_all(visibility_level: Group.visibility_levels[:staff])