[SERVER-24900] Remove duplicated auth code of replset commands Created: 05/Jul/16 Updated: 25/Jan/17 Resolved: 06/Jul/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 3.3.10 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Siyuan Zhou | Assignee: | Siyuan Zhou |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Repl 17 (07/15/16) |
| Participants: |
| Description |
|
The auth checking logic of checkAuthForCommand() is duplicated among all replset commands. We can consolidate that into the parent class. |
| Comments |
| Comment by Githook User [ 06/Jul/16 ] |
|
Author: {u'username': u'visualzhou', u'name': u'Siyuan Zhou', u'email': u'siyuan.zhou@mongodb.com'}Message: |