Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-5718

Comment on: "manual/reference/method/db.dropUser.txt"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None

    Description

      Can you warn users that if they are logged in as a member of the "userAdminAnyDatabase" and they run db.dropUser() passing in the account their logged in with that they will effectively remove themselves.

      I think it would be safer to prevent such logic, this is a killer if you only had one userAdmin ...

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            amarettoslim Mike
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8 years, 31 weeks, 4 days ago