Skip to content

@emdash-cms/plugin-audit-log@0.2.2

Choose a tag to compare

@emdashbot emdashbot released this 15 Sep 05:31
· 14 commits to main since this release
8975a85

Patch Changes

  • #3057 36a021c Thanks @emdashbot! - Fixes content attribution for authenticated REST, visual editing, and MCP saves.

    • Revisions record the acting user without changing the entry owner. MCP updates preserve the existing owner, and actorless internal writes leave revision attribution unset instead of inferring it from ownership.
    • content:beforeSave and content:afterSave receive an actor snapshot with the authenticated user's id and role. The snapshot is isolated between hooks so one plugin cannot change the attribution seen by another.
    • The audit-log plugin stores the actor ID as userId on content create and update entries.