mysociety / alaveteli

Provide a Freedom of Information request system for your jurisdiction
https://alaveteli.org
Other
389 stars 195 forks source link

Show classification activity on a user admin page #6763

Open RichardTaylor opened 2 years ago

RichardTaylor commented 2 years ago

Perhaps show total number of classifications made, and have an option to list the last 100 classification events?

Uses:

garethrees commented 2 years ago

Could also be shown on their public profile page as part of #1516.

RichardTaylor commented 2 years ago

We've noticed a public body user doing some classification. This is probably fantastic but it would be good to be able to look at their classification activity to check.

whatdotheyknow.com/admin/users/247622

garethrees commented 2 years ago

Currently difficult because we don't have a direct association between User and InfoRequestEvent.

garethrees commented 2 years ago

We do store user_id in the params_yaml for status_update events, so we could migrate those to a direct association. We have other variations though – move_request marshals the entire User object in the editor key; edit events store a plain text url_name value in the editor key.