title: MongoError: user is not allowed to do action
body: <p>I am using MongoDB Atlas as my database.</p>
  <p>I am using angular4 with loopback as api.</p>
  <p>My application connects to my database fine. However, when I try to get data, I get this error (I have replaced my dbname with dbname):</p>
  <pre><code>MongoError: user is not allowed to do action [find] on [dbname.$cmd]
  </code></pre>
  <p>The query works fine if I use a local mongodb client or a mongodb instance on AWS. However, when using atlas, I get this error.</p>