2019-05-02 18:17:27 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2013-11-17 20:53:14 -05:00
|
|
|
Group.ensure_automatic_groups!
|
2014-07-09 22:17:13 -04:00
|
|
|
if g = Group.find_by(name: "trust_level_5", id: 15)
|
|
|
|
g.destroy!
|
|
|
|
end
|
2017-07-03 15:26:46 -04:00
|
|
|
|
2019-07-08 15:09:50 -04:00
|
|
|
Group.where(name: "everyone").update_all(visibility_level: Group.visibility_levels[:staff])
|