[SERVER-11555] Deprecate addUser shell helper in favor of createUser helper Created: 04/Nov/13 Updated: 19/Jun/14 Resolved: 06/Nov/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Security, Shell |
| Affects Version/s: | None |
| Fix Version/s: | 2.5.4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Spencer Brody (Inactive) | Assignee: | Spencer Brody (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Minor Change | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
Currently the shell helpers are called addUser and addRole, but the commands they use are called createUser and createRole. We should make these names consistent. While addUser is what we had in the past, I think createUser is the better name as it's more standard in databases, and more consistent with other creation operations in the system, like createCollection and createIndex. Also, by moving away from addUser we can change the arguments so that write concern is passed to createUser as an object rather than having "numReplicatedTo" and "timeout" fields. |
| Comments |
| Comment by auto [ 06/Nov/13 ] |
|
Author: {u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}Message: |
| Comment by auto [ 06/Nov/13 ] |
|
Author: {u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}Message: |