mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 23:19:25 +08:00

For both `chat_allowed_groups` and `chat_message_flag_allowed_groups`, this commit removes the `is_staff?` guardian check, and instead adds both `moderators` and `admins` auto groups as `mandatory_values` to those settings, as part of an ongoing effort to do this for group-based setting values.