[SERVER-42599] Regression prevents use of 'show collections' without listCollections privilege Created: 02/Aug/19  Updated: 29/Oct/23  Resolved: 12/Aug/19

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: None
Fix Version/s: 4.2.1, 4.3.1

Type: Task Priority: Major - P3
Reporter: Spencer Jackson Assignee: Spencer Jackson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.2
Sprint: Security 2019-08-12
Participants:

 Description   

As of SERVER-35638, the message "Warning: unable to run listCollections, attempting to approximate collection names by parsing connectionStatus" no longer appears when running "show collections" on a pre-4.0 MongoDB server.



 Comments   
Comment by Githook User [ 20/Aug/19 ]

Author:

{'name': 'Spencer Jackson', 'email': 'spencer.jackson@mongodb.com', 'username': 'spencerjackson'}

Message: gpg: Signature made Mon 12 Aug 2019 12:58:45 PM EDT
gpg: using EDDSA key C0E4738CA1E5DD6A371E7EC88C7FA5856CA7F642
gpg: Good signature from "Spencer Jackson <spencer.jackson@mongodb.com>" [full]
gpg: aka "Spencer Jackson <spencer.jackson@10gen.com>" [full]
SERVER-42599 Fix 'show collections' without listCollections privilege

(cherry picked from commit 22e98452c5eb9a4a0c08616a421e4894751966c9)
Branch: v4.2
https://github.com/mongodb/mongo/commit/7f76c976ac38594356b46bc4c3564fbbb03540be

Comment by Githook User [ 12/Aug/19 ]

Author:

{'name': 'Spencer Jackson', 'username': 'spencerjackson', 'email': 'spencer.jackson@mongodb.com'}

Message: gpg: Signature made Mon 12 Aug 2019 12:58:45 PM EDT
gpg: using EDDSA key C0E4738CA1E5DD6A371E7EC88C7FA5856CA7F642
gpg: Good signature from "Spencer Jackson <spencer.jackson@mongodb.com>" [full]
gpg: aka "Spencer Jackson <spencer.jackson@10gen.com>" [full]
SERVER-42599 Fix 'show collections' without listCollections privilege
Branch: master
https://github.com/mongodb/mongo/commit/22e98452c5eb9a4a0c08616a421e4894751966c9

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