discourse/db
Ted Johansson f4d0a77d5f
DEV: Add "delete user" options to illegal flag review (#29956)
We already add the "delete user" and "delete and block user" options to the drop-down for potential spam, but we should do this for potentially illegal posts as well.

This is entirely based on the implementation for the potential spam one, including caching the status on the reviewable record.

Also note that just as for potential spam, the user must be "deletable" for the option to appear.

I also took the liberty to move the options in the drop-down to what I think is a more intuitive place. (Between delete post and suspend/silence user.)
2024-11-27 17:23:57 +08:00
..
fixtures FIX: setup with db:create db:migrate (#29609) 2024-11-06 15:06:17 +11:00
migrate DEV: Add "delete user" options to illegal flag review (#29956) 2024-11-27 17:23:57 +08:00
post_migrate DEV: Bump rubocop_discourse (#29608) 2024-11-06 06:27:49 +08:00
api_test_seeds.rb DEV: Apply syntax_tree formatting to db/* 2023-01-09 11:59:41 +00:00