Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-3221

"SystemStackError: stack level too deep" if user mongo permissions are incorrect

      I came across this strange error, if the user on the mongoid.yml has dbAdmin privilege but not readWrite, this error will show up, without any hits or anything:

      SystemStackError: stack level too deep

      I added a user with dbAdmin but forgot to add readWrite in the roles.
      It took me a while to figure it out, so, I think there should be some better way to rescue this kind of errors.

            Assignee:
            arthurnn Arthur Nogueira Neves
            Reporter:
            fred fred
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: