docbrown/spec/services/moderator
Jacob Herrington a5b2d109d5
Rename banned and comment_banned roles (#12270)
* Rename banned and comment_banned roles

* Add data update script to rename roles containing 'ban'

* Add named error for Suspended users

* Update unidiomatic method names

* Rename misc banned to suspended

* Apply suggestions from code review

Co-authored-by: Michael Kohl <me@citizen428.net>

* Add unit tests for suspended methods

This commit also adds TODO comments for removing banned and
comment_banned from the codebase after data update scripts have
successfully run on all of our Forems.

Co-authored-by: Michael Kohl <me@citizen428.net>
2021-04-06 10:12:14 -05:00
..
banish_user_spec.rb [deploy] Remove Elasticsearch from Index Worker Names (#7594) 2020-04-29 12:12:29 -05:00
delete_user_spec.rb Remove ghostify from app (#10139) 2020-09-01 13:39:39 -04:00
manage_activity_and_roles_spec.rb Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
merge_user_spec.rb [deploy] Refactor:Remove Reaction Search Code (#10377) 2020-09-23 12:27:50 -05:00
sink_articles_spec.rb reenable article rescoring when moderators flag users (#12983) 2021-03-16 14:04:13 -05:00