vue-trello
vue-trello copied to clipboard
Permission Denied
Hey there,
Curious to check out the app just for fun. I'm getting a permission denied, something to do with the firebase connection. Your setup instructions:
Rename src/firebase/settings.js.sample to src/firebase/settings.js and paste it the firebase configuration project
You don't have a firebase dir, "settings.js.sample" is located in the /api folder. I've never used firebase before but Im pretty sure I've set things up properly. My specific errors:
FIREBASE WARNING: set at /boards/-L3JvCzYKK6M-bEfSzES failed: permission_denied
Uncaught (in promise) Error: PERMISSION_DENIED: Permission denied at eval (Repo.js?6ebd:510) at Object.exports.exceptionGuard (util.js?54b5:556) at Repo.callOnCompleteCallback (Repo.js?6ebd:501)
etc
Any suggestions?
Hi, I'm also new to Firebase and had the same error, but i managed to resolve it.
In the firebase console, you have to select database from left sidebar and choose "Realtime database" from top dropdown menu (Default is Cloud firestore).
Next select Rules tab and change the contents to { "rules": { ".read": true, ".write": true } }
It will make the database writable, but open to anyone.
@lgortm fix worked for me, thank you!