setFeatureCompatibilityVersion shouldn't disable custom roles

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.5.11
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • ALL
    • Platforms 2017-07-31
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      setFeatureCompatibilityVersion issues a collMod to admin.system.roles. The AuthorizationManager receives a notification of this event, but is unable to understand what it means for the semantics of the collection. This results in the following error message:

      2017-07-27T18:18:35.908-0400 E ACCESS   [conn1] Unsupported modification to roles collection in oplog; restart this process to reenable user-defined roles; OplogOperationUnsupported: Unsupported oplog operation; Oplog entry: { op: "c", ns: "admin.$cmd", o: { collMod: "system.roles" } }
      

      After this point, privileges provided by custom roles no longer propagate to users.

            Assignee:
            Sara Golemon (Inactive)
            Reporter:
            Spencer Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: