-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Derive createdBy
and updatedBy
fields for data returned to client
#136
Comments
This was referenced Jul 28, 2023
Suggesting to solve through encoding to docId see #153 |
EvanHahn
added
mvp
Requirement for MVP
and removed
post-mvp
de-scoped to after MVP
labels
May 14, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
See https://github.com/digidem/mapeo-schema/issues/83 for background.
The
createdBy
field is required for the frontend in order to limit editing of records to the device that created them.The "core ID of the updator" is stored in the
versionId
(hex string before the@
character).The "core ID of the creator" depends on digidem/mapeo-sqlite-indexer#7
Tasks
This task is to use core ownership records to derive the device ID of the creator and updator, and append them to each returned document as
createdBy
andupdatedBy
fields.The text was updated successfully, but these errors were encountered: