mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-07-16 14:52:35 -05:00
Every mutating admin action now dispatches a typed event on commit (admin.user.created, admin.user.admin.granted/revoked, admin.user.status.changed, admin.user.password.set, admin.user.password_reset.sent, admin.user.deleted, admin.project.owner.changed) which the audit catalog maps onto an entry with the acting admin as actor and the affected user or project as target. The model actions grow a doer parameter since the acting admin was not threaded into the models layer before. Admin creation deliberately emits both user.created (actor = the new user, unchanged semantics) and admin.user.created (actor = the admin). The events are instance-level, not project-scoped, so they are not exposed as webhook events. No password or reset-token material is ever part of a payload.
3.3 KiB
3.3 KiB