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

Cannot write to a Public Database #878

Closed
CSDUMMI opened this issue Apr 15, 2021 · 2 comments
Closed

Cannot write to a Public Database #878

CSDUMMI opened this issue Apr 15, 2021 · 2 comments

Comments

@CSDUMMI
Copy link
Contributor

CSDUMMI commented Apr 15, 2021

The source code for this is this: https://gitlab.com/-/snippets/2105561#LC17

It creates a Feed database with accessControl.write = ["*"].

But when I try to add something to the database, I am getting this error:

Error: Could not append entry, key "03394dadc11a7291dcedda7806f5caf90bc75c39ba80c4496cb92f07a0e0881c3c" is not allowed to write to the log

Do you have the same issue? Have I made a mistake?

@tabcat
Copy link
Member

tabcat commented Apr 15, 2021

Hi @CSDUMMI ,

It creates a Feed database with accessControl.write = ["*"].

the option should be accessController.write which is what you have in your sample so that should not be the issue. i will try to find what the issue is, thanks for the code sample.

@CSDUMMI
Copy link
Contributor Author

CSDUMMI commented Apr 16, 2021

I know used a different Nodejs installation and it appears to work.

@CSDUMMI CSDUMMI closed this as completed Apr 19, 2021
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

2 participants