title: Firebase set roles to users
body: <p>I have a situation in Firebase where users have roles. According some profile already defined in another "schema" users can delete, update, create, delete and update, etc, etc... Many combinations are made.</p>
  
  <p>Ex.:</p>
  
  <pre><code>Users/:
      user_1:
          create: "ok"
          delete: "no"
          update: "ok"
      user_2:
          create: "no"
          ... etc ...
  </code></pre>
  
  <p>How manage this in firebase once ".write' permission do not accept dynamic condition? I found Bolt that have some alias (<i>create()</i>, <i>update()</i>, <i>delete()</i>) to that however, you have only create <b>OR</b> update <b>OR</b> delete. Once one is defined you cannot change.</p>
  
  <p>Thanks</p>