Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Write-only annotation attribute to silence read fails #15

Open
clyfe opened this issue Oct 27, 2014 · 0 comments
Open

Write-only annotation attribute to silence read fails #15

clyfe opened this issue Oct 27, 2014 · 0 comments

Comments

@clyfe
Copy link

clyfe commented Oct 27, 2014

Some endpoints can be write only, for example collecting newsletter emails from public.
It would be nice to mark the corresponding firebase-element as write-only to silence the annoying warning:

FIREBASE WARNING: on() or once() for /emails failed: Error: permission_denied: Client doesn't have permission to access the desired data. 

I'm thinking:

<firebase-element id="emails" write-only
  location="https://myapp.firebaseio.com/emails/">
</firebase-element>
@clyfe clyfe changed the title Write-only annotation attribute to silence read fails on write only endpoints Write-only annotation attribute to silence read fails Oct 27, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant