Forbid renaming system collections

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.0.5
    • Component/s: Admin
    • None
    • Server Security
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      I am using the official C# driver v1.4.2. I noticed that I cannot remove the system collection `system.indexes` from my database (this is rather expected) but I can rename this collection (this is rather unexpected).

      > db.system.indexes.renameCollection("old_indexes")
      { "ok" : 1 }
      > show collections
      old_indexes
      

      Discussion: https://groups.google.com/forum/#!topic/mongodb-user/C0AksmnNVdY

      I've been recommended to submit the issue, so do I.

            Assignee:
            [DO NOT USE] Backlog - Security Team
            Reporter:
            Roman Kuzmin
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: