You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
If
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.
The text was updated successfully, but these errors were encountered: