I am using MongoDB Atlas as my database.
I am using angular4 with loopback as api.
My application connects to my database fine. However, when I try to get data,
https://docs.mlab.com/troubleshooting-atlas-connection-issues/#getlog-error
For anyone get the user is not allowed to do action [getLog] on [admin.] error. Had to explicitly give the user the clusterMonitor role
user is not allowed to do action [getLog] on [admin.]
clusterMonitor