[SERVER-48426] Dead code cleanup: admin.system.new_users Created: 26/May/20  Updated: 01/Dec/23  Resolved: 30/Jun/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.7.0

Type: Improvement Priority: Minor - P4
Reporter: Sara Golemon Assignee: Mina Mahmood (Inactive)
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
causes SERVER-83655 Restore legal client ns exception for... Closed
Backwards Compatibility: Minor Change
Sprint: Security 2020-06-29, Security 2020-07-13
Participants:

 Description   

There are lingering references to the `admin.system.new_users` collection which serve no modern purpose.

This collection was part of the upgrade/downgrade process for MongoDB 2.6 which is long since out of support. https://docs.mongodb.com/manual/release-notes/2.6-downgrade/#downgrade-2-6-user-authorization-model



 Comments   
Comment by Sara Golemon [ 30/Jun/20 ]

Thanks for the followup commit. Looks good now!

Comment by Githook User [ 30/Jun/20 ]

Author:

{'name': 'Mina Mahmood', 'email': 'mina.mahmood@mongodb.com'}

Message: SERVER-48426 Cleaned up lingering references to admin.system.new_users
Branch: master
https://github.com/mongodb/mongo/commit/a501a3266ef6fc31b5f40001e8b294b5d5d96619

Comment by Mina Mahmood (Inactive) [ 29/Jun/20 ]

https://mongodbcr.appspot.com/595590002/

Comment by Sara Golemon [ 26/Jun/20 ]

There are still references to new_users in

As well as a comment in https://github.com/mongodb/mongo/blob/39c3a5d77b976e131d37476f2e7255d6058f5093/jstests/replsets/emptycapped.js#L76

Comment by Githook User [ 24/Jun/20 ]

Author:

{'name': 'Mina Mahmood', 'email': 'mina.mahmood@mongodb.com'}

Message: SERVER-48426 Cleaned up admin.system.new_users dead code
Branch: master
https://github.com/mongodb/mongo/commit/c6cebb33732a6b1cd1e3c1b571c6bfb576458533

Generated at Thu Feb 08 05:17:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.