discourse/app/services/upcoming_changes
Martin Brennan 29b3b2329a
FEATURE: Use dropdown for upcoming change toggle (#36091)
To make things a bit clearer for admins, and to bury the option to
enable changes only for specific groups a bit since we don't think
most sites will do this, this commit changes the upcoming change
toggle to an "Enabled for:" dropdown with the following options:

* No one
* Everyone
* Staff only
* Specific group(s)

We automatically save the staff site setting group in the background
if staff only is selected, and we only save specific groups (and toggle
the
change on) once more than one group is selected.


---------

Co-authored-by: awesomerobot <kris.aubuchon@discourse.org>
2025-11-25 11:26:50 +10:00
..
list.rb
toggle.rb