Add ability to disable audit logs
Description
Add ability to disable audit logs in admin panel
Related issues
Fixes https://github.com/Chocobozzz/PeerTube/issues/2686
Has this been tested?
- [x] 👍 yes, I added tests to the test suite
- [ ] 💭 no, because this PR is a draft and still needs work
- [ ] 🙅 no, because this PR does not update server code
- [ ] 🙋 no, because I need help
Screenshots
You may not want to actually have this as a feature, as it may violate some of the requirements for the Digital Services Act (e.g., to be able to provide evidence as to what an admin/moderator did and when.
The only case that I could see this being argued for is on a single-user instance, but even then audit logs are useful in case you forget doing something.
Audit logs would be enabled by default. But the instance is owned by the admin, so we give them the choice as this feature has been requested by some of them :)
Audit logs would be enabled by default. But the instance is owned by the admin, so we give them the choice as this feature has been requested by some of them :)
Maybe so, but they're still an important feature for trust & safety (and as noted in other issues can be used to implement features for things like actions taken on reports)
It'd be good to know why they want to disable the audit logs? What problem are the audit logs creating that could necessitate them needing to be disabled?
Closing due to inactivity. Does not hesitate to ask for the reopening :)