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

Remove unnecessary call to createUser in list_databases_for_all_tenants.js

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Service Arch
    • 1

      We create a root user, but then don't auth as the user so there's no need to create it. There is a comment that says "Add a root user that is unauthorized to run the command" which is misleading, because it makes it hard to understand why the command then succeeds a few lines later (it's because we're already authenticated as the internal user, who is allowed to run this command, and not as the root user).

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: