Author Topic: How do I use firebase auth for my projects?  (Read 796 times)

Offline Eden

  • 1
  • Newbie
  • *
  • Posts: 0
  • Karma: +0/-0
    • View Profile
How do I use firebase auth for my projects?
« on: November 17, 2016, 07:04:54 PM »
Hello everyone, I would like to ask you a question, I hope you can help me, how do i use firebase auth for my projects? Thank you please kindly give me your help Help.



Offline Cruz

  • 1
  • Newbie
  • *
  • Posts: 0
  • Karma: +0/-0
    • View Profile
Re: firebase auth for my projects?
« Reply #1 on: July 04, 2018, 08:38:19 PM »
You can set the rule as follows:

"Node": {
    "$field": {
        ".read": root.child('Projects/' + data.child('project').val() + '/Members/' + auth.uid).exists()",
        ".write": //same here
    }
}


 

Sitemap 1 2 3 4 5 6 7 8 9