[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: |
|
||||||||
| 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 |