[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: |
|
||||
| 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: |