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

Fix incomplete error message in role graph initialization code

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.5.5
    • 2.5.4
    • Security, Usability
    • None
    • Fully Compatible

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: