[SERVER-47153] [v4.4] userAllowedCreateNS() should check for long collection names in FCV 4.2 Created: 27/Mar/20  Updated: 29/Oct/23  Resolved: 30/Mar/20

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.4.0-rc0

Type: Bug Priority: Major - P3
Reporter: Gregory Wlodarek Assignee: Gregory Wlodarek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2020-04-06
Participants:
Linked BF Score: 0

 Description   

We already have this check in DatabaseImpl::_checkCanCreateCollection(), but it seems like other code paths use userAllowedCreateNS(), so we should add this check in there too.



 Comments   
Comment by Githook User [ 30/Mar/20 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-47153 userAllowedCreateNS() should check for long collection names in FCV 4.2
Branch: v4.4
https://github.com/mongodb/mongo/commit/845e2cc4d0d247bcce0f92f845a82fb30c9674f2

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