Skip to content

Cannot see multiple flaggings of the same item #6

@absoludity

Description

@absoludity

If

  1. An item is flagged (and switched to PENDING)
  2. The item is moderated and set to APPROVED
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions