mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 03:18:23 +00:00
21d614215b
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: - 8a45f84277e6e13bc48b8f4e40350a9cbd5cd2ee - 447d9b210556e64c14f9ca9f8f9b52f54090cd41 - c89edd9e86870f97a770816210d71400f09181f2