4 ms·
The situation I’m considering is data that matches the referential integrity and check constraints of the database, but is malicious. For example syncing a “sal
by koolba 3y ago
The situation I’m considering is data that matches the referential integrity and check constraints of the database, but is malicious. For example syncing a “salary update to $1M” for yourself into the source database.
- thruflo 3y agoYup, this is what's addressed by write permissions. You can express who can set salaries and column level rules to validate input values. When it comes to concurrency problems like not spending money twice, the plan is https://electric-sql.com/blog/2022/05/03/introducing-rich-crdts#reservations https://electric-sql.com/blog/2022/05/03/introducing-rich-cr...
- robertlagrant 3y agoRow-level permissions also very useful - e.g. I am allowed to update my own profile, but not someone else's.