User story
As PHT, we need some basic record keeping about who created partners and users in order that if there's any kind of incident we can work out who we need to talk to about it.
As an organiser, I want to be able to see who has created and edited partners in my partnerships, in order that I can work with that person instead of cross purposes.
Created as part of the cycle 29 scoping workshop
Acceptance criteria
- [ ] Partners store which user created them, and when
- [ ] Users store which user created them, and when
- [ ] Calendars store which user created them, and when
- [ ] Partner creation and last updated info is visible in the admin interface to anyone who can view the partner
- [ ] User creation and last updated info is visible in the admin interface to anyone who can view the user
- [ ] Calendar creation and last updated info is visible in the admin interface to anyone who can view the caldendar
- [ ] Deleting the user that created a partner, calendar or user doesn't case everything to break
- [ ] Bonus: it's possible to see this info in the partner, calendar and user index (appreciate this will take a rethink of what columns are visible though so maybe easier to skip until we have a feature like togglable columns ready to go)
Implementation notes & questions
Previously I think we were tracking this with the paper_trail gem.
Do we need this for calendars too? We may not but seems weird not to do it for completeness?
This is being done as a stopgap until we can resolve this fully https://github.com/geeksforsocialchange/PlaceCal/issues/2256
Implementation plan
To be written by the developer