We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
allowCreate
I am running,
"sharedb": "^1.0.0-beta", "sharedb-access": "^5.0.0",
With,
$ node --version v10.13.0
And when running,
shareDbAccess(backend); backend.allowCreate('default', async (docId, doc, session) => { console.log('docId, doc, session:', docId, doc, session); return false; })
The console.log never executes and I'm allowed to create the 'default' document even when the function returns false.
console.log
false
All other mehods, allowRead and allowUpdate are working perfectly.
allowRead
allowUpdate
Any ideas why this happens? What I'm doing wrong?
Thanks!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am running,
With,
And when running,
The
console.log
never executes and I'm allowed to create the 'default' document even when the function returnsfalse
.All other mehods,
allowRead
andallowUpdate
are working perfectly.Any ideas why this happens? What I'm doing wrong?
Thanks!
The text was updated successfully, but these errors were encountered: