mirror of
https://github.com/outline/outline.git
synced 2026-11-20 21:23:06 +03:00
* fix: Record passkey, OAuth client and invite events in the audit log - Add passkeys.*, oauthClients.*, documents.unpublish, webhookSubscriptions.update and users.invite_accepted to AUDIT_EVENTS. - users.invite_accepted was never emitted: the invited check ran after sign-in had set lastActiveAt, and email sign-in did not emit it at all. It also had no actor or team. Invited users signing in with SSO receive their welcome email again, and webhooks for this event start firing. - passkeys.create had no actor or team as auth routes have no API context. - Record the name on update and delete events where it is otherwise lost, the title on documents.unpublish, and mark OAuth client secret rotations. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: Attribute invite_accepted to the invitee, not the browser session Auth routes parse an optional cookie session, and createFromContext prefers that user over the provided defaults, so accepting an invite in a browser with another session recorded the wrong actor and team.