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

Add createCollection to map reduce's required privileges when necessary

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • MapReduce, Security
    • None

    Description

      There is a TODO in mr_common.cpp in addPrivilegesRequiredForMapReduce to notice when the MR is going to create a new collection for the output and add createCollection as a required privilege in that case.

      This wasn't necessary to have done for 2.4 because there was no way to have insert/update (which was necessary for MR to an output collection at all) without having createCollection. For 2.6, however, this has to be done because of user defined roles

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: