mastodon icon indicating copy to clipboard operation
mastodon copied to clipboard

Audit log should track actions taken, not actions attempted

Open trwnh opened this issue 3 years ago • 1 comments

Pitch

I think it would make more sense for the audit log to reflect actual actions and changes in state. Idempotent calls should not generate an audit log entry. Failed calls should not generate an audit log entry.

Motivation

image

Looking at this audit log, you can see that the order of events makes no sense, and this is because all actions were performed by manual API calls rather than through the web interface. Given that it is possible to make such API calls in any order, it is therefore also possible for the audit log to be confusingly ordered.

trwnh avatar Sep 08 '22 22:09 trwnh

Another can of worms -- methods such as updating a DomainBlock or IpBlock with a comment that is exactly the same as the existing comment will still generate an audit log entry

trwnh avatar Nov 09 '22 06:11 trwnh