Skip to content
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

read perms plan #390

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ Each `col_version` is currently incremented independently. We can instead set it

This isn't guaranteed since the peer being merged into could be way ahead in db_version overall but have some records behind in db_version.

# read perms

- callback
- gets invoked when returning from `crsql_changes`
- can be manually invoke by user for manual sync queries. e.g., `AND crsql_rls('table', pks...)`? No need to do this ever?
- partial sync is user query -> perm fail find -> crsql_changes (based on lowest db version found from prior perm failures)

# pk-lookup

- New table
Expand Down