Skip to content

Add audit log plugin - #19

Merged
owjs3901 merged 2 commits into
mainfrom
owjs3901/audit-log
Aug 30, 2026
Merged

Add audit log plugin#19
owjs3901 merged 2 commits into
mainfrom
owjs3901/audit-log

Conversation

@owjs3901

Copy link
Copy Markdown
Contributor

Summary

  • persist an opt-in Event::AUDIT marker in the transactional event outbox
  • add the administrator-only audit-log plugin with exact filtering, pagination, and typed retention settings
  • mark memo create/update/delete events for audit history while preserving pending delivery rows during retention

Validation

  • cargo clippy --workspace --all-targets --all-features -- -D warnings
  • cargo test --workspace (101 passed)
  • RUSTDOCFLAGS=-D warnings cargo doc --workspace --no-deps
  • bunx oxlint
  • bun x tsc --noEmit in packages/app, apps/example-app, and every plugin
  • cargo run -p yeollin-cli -- build --skip-backend

Browser QA

  • signed in as a seeded administrator and created a memo through the real UI
  • verified memo.created payload rendering, exact-name empty state, clear, refresh, and disabled pagination
  • saved retention from 90 to 30 days on the generated settings page and verified the audit summary updated
  • visually checked the corrected two-column desktop layout
  • warmed fresh tab: 0 console errors and 0 HTTP failures
  • stopped the dev process tree, confirmed ports 3000/3001 clear, and restored the prior QA database

devfive added 2 commits August 31, 2026 04:13
Mark audit-worthy events at the typed source so the administrator view can read the transactional outbox without duplicate storage. Preserve pending deliveries while enforcing a configurable retention policy.
Explain the opt-in audit marker, administrator visibility, payload sensitivity, and the rule that retention must preserve pending outbox delivery.
@owjs3901
owjs3901 merged commit 639e4ea into main Aug 30, 2026
1 check passed
@owjs3901
owjs3901 deleted the owjs3901/audit-log branch August 30, 2026 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant