I have 2 dbs:
I have a user with a
readWriteAnyDatabase role but he cannot list the collections in the
I have another user with a
root role and he succeeded in listing the collections for the
I try to view the collections in
The error I am getting:
Not authorized to execute command: listCollections...
using mongodb: 3.4.7
In the mongoDB config I only added
What can be the cause?