-
Notifications
You must be signed in to change notification settings - Fork 66
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
Prevent incorrect changes #23
Comments
This is a very good question, please do not hesitate to post an issue, even if it's just a clarification or about a point that was confusing in the documentation. these issues are useful for other people who have similar questions! so, you want to have validation rules that restrict certain nodes from making certain updates? yes, this is possible. I have experimented with this, you may want to read through this #6 If you read the code you'll see there is some stuff regarding validation, |
@dominictarr great, I've read code about security validation, will try to make something for general-purpose validations. One more question — does it make sense to push into stream compensating messages when validation (in general sense) fails for specific fields trying to set previous values for fields which was set to incorrect values? Good thing is our errorneous client could refresh their data back to proper version, and bad thing is we actually make a new event on object history that could be created after some other 'good' client made some changes to data, so we effectively overwrite them by our compensating message. |
https://github.com/juliangruber/authoritee Put nodes running this scuttlebutt version around untrusted nodes and they'll only replicate what's good. |
@juliangruber 👍 Great module, thank you |
Not an issue, more of a general question — assume that my app have following scuttlebutted graph
Then, client performs an incorrect assignment to the data on it's node — what is proper way to prevent those malformed data to propagate across the system? Should I implement my own scuttlebutt that refuses incorrect changes in appyUpdates function and place it on app server?
Sorry, if it's stupid question, but I am just starting to use scuttlebutt.
The text was updated successfully, but these errors were encountered: