Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-11504

DropAllRolesFromDatabase doesn't record in audit log

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Blocker - P1 Blocker - P1
    • 2.5.4
    • Affects Version/s: None
    • Component/s: None
    • ALL

      action "dropAllRolesFromDatabase" has a few problems, one of them big.

      1. Big Problem: The command seems to produce no entry in audit logs.

      2. the command is called "dropRolesFromDatabase", without an "all". I think
      the "all" is clearer: "dropRolesFromDatabase" suggests that one might drop
      selected roles.

      3. The spec for the text message is "Dropped all roles from <role>@<db>."
      There shouldn't be a "role@" in this: there is no single role involved.

            Assignee:
            matt.dannenberg Matt Dannenberg
            Reporter:
            bard.bloom@10gen.com bard.bloom@10gen.com
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: