vue-trello icon indicating copy to clipboard operation
vue-trello copied to clipboard

Permission Denied

Open marcodeluca opened this issue 7 years ago • 2 comments

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?

marcodeluca avatar Jan 20 '18 18:01 marcodeluca

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 avatar May 08 '18 16:05 lgortm

@lgortm fix worked for me, thank you!

gonzaloserrano avatar Feb 17 '19 14:02 gonzaloserrano