Skip to content

Draft: [Feature] Moderation/Audit Logs

Insidious Fiddler requested to merge feature/audit-logs into main

Core Purpose

Provide audit/moderation logs giving a revision/action/event history across all public content across the site. Including posts, users, comments, and images.

Logic

API

  • Log events, the causer, subject, and any relevant details, ie: old->new values, in what facility was the action performed as (admin, mod, etc).
  • Only Admins/Mods have ability to view audit logs.

UI

  • View audit logs of content in a community, showing history for it, and the actions/things done on it.
  • When performing action on content (lock, pin, unpin, etc) provide a notes field plus a rule drop-down that is recorded in the notes on a separate line like `rule:11`

Admin/Mod Suggestions

  • Reason for event, possibly dropdown tied to site/sub rules. I think that was useful when I modded Reddit.
    • okay, so if action is from mod/admin give the ability to have a note basically plus the rule/s correlated to X event and reason
  • Having that would be amazing imo, really helps mitigate confusion on actions taken , especially if your project has several folks pushing similar buttons. Re the details, could make a case for both a drop down option (so data can be consistent/compiled for analytics latwe) with things like "content edit for clarity/typos/whatever", "comment removed" (with drop down required to note why), "user warned" (dropdown to cite rule), "user banned" (dropdown) Same time free form would cover all use cases v catch 90% using the above examples, but if some drama/difficult user tracking situation arise, way harder to follow along where the issue began with free flow text that isn't a standardized message. Maybe Details and and optional misc notes in free form too would cover that info gap?

Implementation

  • Post
    • Add a post.
    • Update a post.
    • Delete a post.
    • Vote on a post.
    • Uploads an image.
  • User
    • Delete a user.
    • Login a user.
    • Signup a user.
  • Admin Actions
  • Lists
    • Create a new list.
    • Update a list.
    • Delete a list.
    • Add an item to a list.
    • Delete all items from a list.
    • Delete a list item.
  • Mutes
    • Mute a user or community
    • Clear all mutes
    • Unmute a user or community
    • Unmute a user
    • Unmute a community
Edited by Insidious Fiddler

Merge request reports

Loading