Allow creation of custom flags, which auto hide content, similar to "spam" and "inapproriate"

I am delighted that it is now possible to create custom moderation flags.

During testing, it was noted that initially, it seemed impossible to equip these with the same functionality as the predefined “spam” and “inappropriate” flags.

After setting auto_action_type to true via console, the flags behave as wanted.

Please add this option to the admin user interface too.

4 Likes

“auto hide” for a custom moderation flag can be enabled using the rails console:

Flag.find(1001).update!(auto_action_type: true)
1 Like

Thanks for sharing that rails hack!

So is the suggestion to add a toggle to the UI when editing custom flags? So some flags have it and others do not, at the discretion of the admin?

1 Like

Exactly. (Will need enabling of editing of custom flags :innocent:)

1 Like

We’re going to be looking into adding this toggle. Shouldn’t be too difficult.

3 Likes