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

Validation "Writing One" #516

Open
Aoede opened this issue Aug 11, 2014 · 0 comments
Open

Validation "Writing One" #516

Aoede opened this issue Aug 11, 2014 · 0 comments

Comments

@Aoede
Copy link

Aoede commented Aug 11, 2014

In the sentence:
"Above is the simplest possible validation function, which, when deployed, would allow all updates regardless of content or user roles. The converse, which never lets anyone do anything, looks like this:
function(newDoc, oldDoc, userCtx) {
throw({forbidden : 'no way'});
}
"
...would allow all updates...
should be:
...would deny all updates...

regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant