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

XMLWordPrintableJSON

    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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:
              Arthur Nogueira Neves
              Reporter:
              fred
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: