title: Allow user to read only own content with firebase rules?
body: <p>I'm trying to set users to get only own objects. I have a tasks which have 3 attributes on fb-database: task-text, datetime, user. user have user uid. I want to write a rule that allow user to read only own tasks.</p>
  
  <p>So far I have this and it dont work:</p>
  
  <pre><code>{
      "rules": {
          "tasks": {
              ".read": "auth.uid == data.child('user').val()",
              ".write": "auth.uid != null",
          }
      }
  }
  </code></pre>