mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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