mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 15:45:07 +08: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: - |
||
---|---|---|
.. | ||
controllers | ||
fabricators | ||
integration | ||
jobs/regular | ||
lib | ||
models | ||
requests | ||
serializers |