스팸이나 부적절과 유사하게 콘텐츠를 자동으로 숨기는 사용자 지정 플래그 생성 허용

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개의 좋아요

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

Flag.find(1001).update!(auto_action_type: true)
1개의 좋아요

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개의 좋아요

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

1개의 좋아요

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

3개의 좋아요

The toggle has now been added, in this PR: FEATURE: auto_action_type field for flags by KrisKotlarek · Pull Request #29306 · discourse/discourse · GitHub

The moderation flags admin page looks like this now:

3개의 좋아요

This topic was automatically closed after 4 days. New replies are no longer allowed.