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

Running waitForAllIndexBuildsToFinish on admin.system.roles disables role transitivity

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.10
    • Component/s: Replication, Security
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Security 2019-04-08
    • Linked BF Score:
      44

      Description

      waitForAllIndexBuildsToFinish runs

              assert.commandWorked(this.getPrimary().getDB(dbName).runCommand(
                  {collMod: collName, usePowerOf2Sizes: true}));
      

      When applied to admin.system.users, the resulting Oplog entry is not recognized by the AuthorizationManager's log_op method, which disabled transitive rolegraph resolution.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: