-
Notifications
You must be signed in to change notification settings - Fork 19
Description
If
- An item is flagged (and switched to PENDING)
- The item is moderated and set to APPROVED
- The item is flagged by someone else
then AFAICS, the record of (1) is gone. Another similar situation is when flagging an item does not put it pending, and you'd like to see all flagged items ordered by how many times they have been flagged.
Is it worth considering splitting the flagging data from ModerationObject to a separate model with where FlaggedData M:1 ModerationObject. One solution would be that when an item is flagged, it is related to the ModerationObject... it should then be easy to add logic such as the moderation object goes back to PENDING after 3 new flaggings if desired (or even provide a custom function to make the decision).
Again, let me know if you think this would be worthwhile or out of scope for what you had in mind for django-gatekeeper.
Cheers,
Michael.