cr-sqlite icon indicating copy to clipboard operation
cr-sqlite copied to clipboard

server side compensations

Open tantaman opened this issue 1 year ago • 1 comments

  • [ ] Read permissions
  • [ ] Write permissions
  • [ ] Integrity / data validation

tantaman avatar Sep 29 '23 11:09 tantaman

I need to support offline sync + teams and have looked into using ElectricSQL well but am really impressed with the idea of the CRDT being implemented within the database as opposed to an external sync service, it feels like the SQLite way to do it.

I brought the issue of permissions up on the Discord chat and was referred to this issue. Where you had mentioned"

You could apply filters before returning rows from crsql_changes.

You'd need to track if filtered out rows ever become visible again, however, so you can sync them back down.

To move this issue forward another step I think a further discussion here would be good to enumerate any of the challenges of properly implementing permissions with cr-sqlite and general thoughts on how you might go about it.

andrewluetgers avatar Jan 27 '24 15:01 andrewluetgers