title: How to combine angular fire guards?
body: <p>The AngularFire auth guard <a href="https://github.com/angular/angularfire2/blob/master/docs/auth/router-guards.md" rel="nofollow noreferrer">doc</a> shows different ways to allow authentication.</p>
  
  <p>Only admin users:</p>
  
  <pre><code>const editorOnly = pipe(customClaims, map(claims =&gt; claims.role === "editor"));
  </code></pre>
  
  <p>Self only: </p>
  
  <pre><code>const onlyAllowSelf = (next) =&gt; map(user =&gt; !!user &amp;&amp; next.params.userId === user.uid);
  </code></pre>
  
  <p>My question, is how to combine the two that <em>either</em> an editor/admin <em>or</em> the user himself can open the component.</p>