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

Fix incomplete error message in role graph initialization code

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.5
    • Affects Version/s: 2.5.4
    • Component/s: Security, Usability
    • Labels:
      None
    • Fully Compatible

      in src/mongo/db/auth/authz_manager_external_state_local.cpp there is the error log message:

      error() << "Could not generate role graph from admin.system.roles; "
                          "only system roles available. TODO EXPLAIN REMEDY. " << status;
      

      We should remove the TODO and make the error message more useful.

            Assignee:
            spencer@mongodb.com Spencer Brody (Inactive)
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: