mirror of
https://github.com/discourse/discourse.git
synced 2026-07-31 00:28:19 -05:00
This change refactors the check `user.groups.any?` and instead uses `user.staged?` to check if the user is staged or not. Also fixes several tests to ensure the users have their auto trust level groups created. Follow up to: -8a45f84277-447d9b2105-c89edd9e86