Closed ShishKabab closed 5 years ago
Terminology used:
Here are some use cases that we should foresee:
Thanks for the list, really useful :)
how to enforce deletions in a collaborative environment? In an offline-first environment anyone could just "keep" a post. How do we handle that?
We don't. There's no way to guarantee that everybody is really deleting data locally, ever, using any technology currently available. The best we can hope for is that they're using an unmodified version of whatever client they're using.
Now included in https://github.com/WorldBrain/storex-pattern-modules
Motivation: When dealing with data accessible by multiple users, there needs to be some access control logic. In traditional back-ends, an application server has a knows which user is logged in and checks rights before modifying the database. BaaS like Firebase services tend to have their own way of specifying access control. When dealing with decentralization, either P2P or Blockchain, logic also must be defined, sometimes in a specialized language. However, there are common denominators of access control that can be distilled across all these platforms, allowing us to declare access control rules before deciding on a backend.
Design considerations:
Questions:
Vague concept:
Steps: