docbrown/app/errors
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
..
authentication Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
fastly_config.rb [deploy] Create FastlyConfig & refactor params safe list (#7630) 2020-05-01 11:23:48 -04:00
liquid_tags.rb [deploy] Add contexts and permissions to liquid tags (#8917) 2020-06-30 14:53:18 -04:00
payments.rb Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
search.rb Centralize search error handling (#6227) [deploy] 2020-02-25 14:03:49 -05:00
subclass_responsibility.rb [deploy] Authentication refactoring - step 1 (#7259) 2020-04-15 12:13:10 -04:00
suspended_error.rb Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
unauthorized_error.rb Add API Analytics Endpoints (#2293) 2019-04-04 10:52:45 -04:00
uninferrable_decorator_error.rb Switch decorators to Rails builtin decorations - take 2 (#6125) [deploy] 2020-02-19 15:30:53 -05:00