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
Moderators audit logs #3141
Comments
|
Hi @benhalpern . I want to start with this feature. My plan is to use custom events using Rails active support instrumentation I am just wondering how to make the custom payload for categories, markdown info, action/slug and so on. |
|
Hey @brarnaudovski this sounds great! I've never used I don't think you'd need a custom payload if I understand this correctly, as the general schema of the data being passed would be consistent. @lightalloy can you help guide this? |
|
Hey @benhalpern, @brarnaudovski.
I have read about the |
|
Besides the actual logging (implemented in #3449), I suppose the interface for admins would be useful. For now, that could be a simple paginated list in |
Moderators and admins take certain actions on the platform. Those actions can be discovered with certain breadcrumbs in our deeper app logs, the various things being created and destroyed, but we don't currently have a useful record of all actions taken.
I think it would be worth creating a table called
mod_actionsor something like that. It would be a table that we append to any time a mod or admin does anything. For better overall auditing of what happened and when. It would be visible to other mods within a tag and for all admins to pay attention to.I think others might have better insights on how to think about it, but I feel like these would be my high level feature thoughts:
It should define an API to let us drop log lines in where relevant. They should execute with the lowest footprint possible, so they should execute asynchronously.
This would be a very helpful feature! I feel like it doesn't need a ton of existing knowledge of our codebase to implement in and of itself.
The text was updated successfully, but these errors were encountered: