Skip to content

MongoError: user is not allowed to do action [find]Β #7673

@orwell1984

Description

@orwell1984

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
MongoError: user is not allowed to do action [find] when looking up entries in the Atlas mongodb database.
If the current behavior is a bug, please provide the steps to reproduce.

Using the following code https://github.com/phylogeny-explorer/explorer/blob/master/common/databases/factory.js

What is the expected behavior?
Working connection

What are the versions of Node.js, Mongoose and MongoDB you are using? Note that "latest" is not a version.
npm -> 6.7.0
node -> v11.10.1
mongoose -> 5.3.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    helpThis issue can likely be resolved in GitHub issues. No bug fixes, features, or docs necessary

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions