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

createUser doesn't quite match its spec

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 2.5.4
    • Affects Version/s: None
    • Component/s: None
    • None

      • customData needs to show up in the docco. (It's in the release notes, but
        not mentioned in the PyMongo driver)

      The spec says that a user records looks like this:

      "Created user <user>@<db> (with|without) password, (with|without) customData,
      with the following roles: <role names>."

      In practice, there's no comma after password. In this case I think the spec
      has better grammar.

      More importantly, the spec says that the customData is not included, but the
      actual line has it:

      2013-10-29T13:55:07.971-0400 admin@admin 127.0.0.1:60257/127.0.0.1:27017
      000000000000000000000000.0 Created user user61@db60with password with
      customData { custom: "data" }, with the following roles: read@db60.
      

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

              Created:
              Updated:
              Resolved: