mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 04:13:22 +08:00
30c491500a
Previously, users who had any penalties (were silenced or suspended) were not allowed to promote to Trust Level 3. There is also a more subtle change here: if users were silenced or suspended and then the operation was reverted (user was un-silenced or un-suspended), then it would have been like the user was never penalized in the first place. This is no longer the case. To forgive a user earlier, administrators can use "Clear Penalty History" feature. Lastly, Jobs::UnsilenceUsers will automatically unsilence any users who should no longer be silenced (silenced_till < now()). This made it so silence_count - unsilence_count == 0 for any user who is not silenced, which defeated the purpose of this TL3 requirement. |
||
---|---|---|
.. | ||
components | ||
fabricators | ||
fixtures | ||
helpers | ||
import_export | ||
integration | ||
integrity | ||
jobs | ||
lib | ||
mailers | ||
models | ||
multisite | ||
requests | ||
serializers | ||
services | ||
support | ||
tasks | ||
views/omniauth_callbacks | ||
rails_helper.rb |