[SERVER-15460] shim needs access to the mongod implementation of AuthorizationManager for restore Created: 30/Sep/14 Updated: 10/Dec/14 Resolved: 01/Oct/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Tools |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kyle Erf | Assignee: | Benety Goh |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
In order for the new mongorestore to work with --dbpath and user/role restoration, it needs access to the _mergeAuthzCollections command, which is not available in the default shim authorization manager. See |
| Comments |
| Comment by Eric Milkie [ 01/Oct/14 ] |
|
Spoke with Spencer and Kyle. We decided to move this logic into the tool itself, and forgo this enhancement in the shim. In the mongorestore logic, calling the _mergeAuthzCollections command is only necessary when restoring to a live database; when restoring directly to files via the shim, no special logic is necessary for handling a restore of a user data collection. |