It would be very useful to have an option to reset all flags of a node (or something else) as an action. currently its only possible to reset the flag for the current user or the contents author. The Module flag_abuse provides a similar function to reset all abuse flags for a node so maybe it might be useful to look at it.

Purpose : Users could flag content as outdated and if more than a specific numbers of users have flagged the content as outdated, the author gets notified. After he updated his content every flag could be reset then.

Comments

mitchell’s picture

Status: Needs work » Closed (duplicate)

After looking into this, it seems you were definitely on the right track with flag_abuse.

I'm marking this as a duplicate of #327901: Action: clearing a node's flaggings.

On the other hand, there might be another way to do this using the existing rules integration for unflag and #329500: support for looping and data lists or #371728: Load Multiple Nodes to perform actions on them, but wouldn't seem ideal.

amitaibu’s picture

Haven't tested, but maybe you can use the action 'trim falg' and set the value to 0.

mitchell’s picture

Component: Miscellaneous » Documentation
Category: feature » support
Status: Closed (duplicate) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.