Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot see multiple flaggings of the same item #6

Open
absoludity opened this issue Nov 26, 2010 · 0 comments
Open

Cannot see multiple flaggings of the same item #6

absoludity opened this issue Nov 26, 2010 · 0 comments

Comments

@absoludity
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant