[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: SERVER-24900 Remove duplicated auth code of replset commands
Branch: master
https://github.com/mongodb/mongo/commit/2988729f56f465277c6a1e5a2fc186b05281a0e3

Generated at Thu Feb 08 04:07:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.