Angular
Firebase Error: permission_denied at /Aufgaben: Client doesn't have permission
to access the desired data.
In the Chrome
browser in the Console
ERROR
Error: permission_denied at /Aufgaben: Client doesn't have permission to access
the desired data.
Angular is running in development mode.
Call enableProdMode() to enable production mode.
core.js:5967 ERROR Error:
permission_denied at /Aufgaben: Client doesn't have permission to access the
desired data.
at errorForServerCode (index.cjs.js:658)
at onComplete (index.cjs.js:9067)
at Object.onComplete (index.cjs.js:12559)
at index.cjs.js:11691
at PersistentConnection.push.NSPt.PersistentConnection.onDataMessage_
(index.cjs.js:11931)
at Connection.push.NSPt.Connection.onDataMessage_ (index.cjs.js:11248)
at Connection.push.NSPt.Connection.onPrimaryMessageReceived_
(index.cjs.js:11242)
at WebSocketConnection.onMessage (index.cjs.js:11143)
at WebSocketConnection.push.NSPt.WebSocketConnection.appendFrame_
(index.cjs.js:10729)
at
WebSocketConnection.push.NSPt.WebSocketConnection.handleIncomingFrame
(index.cjs.js:10780)
|
Solution:
In Google
Firebase under Realtime Database -> Rules
The Read
Settings of the Firebase Rules must be set to .read : true