[SERVER-10290] Add createCollection to map reduce's required privileges when necessary Created: 22/Jul/13  Updated: 10/Dec/14  Resolved: 17/Sep/13

Status: Closed
Project: Core Server
Component/s: MapReduce, Security
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: Andy Schwerin
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-7891 Add createCollection ActionType to th... Closed
Participants:

 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



 Comments   
Comment by Andy Schwerin [ 17/Sep/13 ]

Dupe of SERVER-7891

Generated at Thu Feb 08 03:22:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.