Skip to content

adjust to repository v1.8 eventlog shape#61

Open
hugowetterberg wants to merge 2 commits into
mainfrom
feature/repo-1-8-prep
Open

adjust to repository v1.8 eventlog shape#61
hugowetterberg wants to merge 2 commits into
mainfrom
feature/repo-1-8-prep

Conversation

@hugowetterberg

Copy link
Copy Markdown
Contributor

Summary

  • Apply the ACL folded onto document events to target updates. Since elephant-repository v1.8.0 (Implicit ACL events elephant-repository#595), an ACL update that accompanies a document version — including every document creation — is carried on the document event's acl field instead of being emitted as a standalone acl event. The real-time path relied on those standalone events, so against a v1.8+ source it would replicate new documents and versions without their ACLs. Catch-up mode is unchanged: it keeps reading the current ACL from document meta for new documents, which is more authoritative than the historical event ACL.
  • Standalone acl events (ACL-only updates, archive restores) are still emitted by the repository and remain handled as before.
  • Bump Go to 1.26.4 (including the Dockerfile base image) and direct dependencies: elephant-api to v0.23.1, elephantine to v0.27.1, newsdoc to v1.1.0, pgx to v5.10.0, urfave/cli/v3 to v3.9.0, and the golang.org/x group.

since repository v1.8.0 an ACL update that accompanies a document
version is carried on the document event's acl field instead of being
emitted as a standalone acl event. Apply it to the update request in
real-time mode; catch-up mode keeps reading the current ACL from
document meta for new documents.
elephant-api to v0.23.1, elephantine to v0.27.1, newsdoc to v1.1.0,
pgx to v5.10.0, urfave/cli/v3 to v3.9.0, and the golang.org/x group.
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