[SERVER-40736] Test collection name autocompletion for users without listCollections privilege Created: 19/Apr/19  Updated: 08/Jan/24  Resolved: 24/Apr/19

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

Type: Improvement Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: A. Jesse Jiryu Davis
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-32942 mongo shell: for users authorized to ... Closed
Sprint: Service Arch 2019-04-22, Service Arch 2019-05-06
Participants:

 Description   

Add a test of SERVER-32942, specifically the autocompletion code that runs when a user types "db." and hits Tab. The shell should autocomplete the names of collections which the user is authorized to see, if the user is prohibited from running listCollections.



 Comments   
Comment by Githook User [ 26/Apr/19 ]

Author:

{'name': 'A. Jesse Jiryu Davis', 'username': 'ajdavis', 'email': 'jesse@mongodb.com'}

Message: SERVER-35638 Short timeout to autocomplete collection names

Also resolves SERVER-40736, test autocompletion of collection names for users
without the listCollections permission.
Branch: master
https://github.com/mongodb/mongo/commit/b6cc1fb89f8fbf92c66ef6274a1de1ad310b2fb1

Comment by Githook User [ 24/Apr/19 ]

Author:

{'name': 'A. Jesse Jiryu Davis', 'username': 'ajdavis', 'email': 'jesse@mongodb.com'}

Message: SERVER-35638 Short timeout to autocomplete collection names

Also resolves SERVER-40736, test autocompletion of collection names for users
without the listCollections permission.
Branch: master
https://github.com/mongodb/mongo/commit/f202c4c1ba24b9f561e8b11dac5b04fa0eeb4919

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