Remove duplicated auth code of replset commands

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 3.3.10
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • Repl 17 (07/15/16)
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The auth checking logic of checkAuthForCommand() is duplicated among all replset commands. We can consolidate that into the parent class.

              Assignee:
              Siyuan Zhou
              Reporter:
              Siyuan Zhou
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: