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

db.dropUser command needs more information

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • Server
    • None

    Description

      Can we be more explicit regarding what happens when running the command db.dropUser() from the mongo shell?

      The current documentation is a bit sparse.

      Completing the db.dropUser() action causes the user to be dropped, but any items created by that user in the database will remain. That is "nothing else happens, no other collections or data created by that user will be modified."

      Context: other database experience where databases/objects have owners, so removing a user could lead to other items being deleted or orphaned.

      Attachments

        Activity

          People

            andrew.aldridge@mongodb.com Andrew Aldridge
            rachelle.palmer@mongodb.com Rachelle Palmer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              32 weeks ago