[SERVER-47154] Split out namespace pattern matching logic from _checkCanCreateCollection() into userAllowedCreateNS() Created: 27/Mar/20 Updated: 29/Oct/23 Resolved: 27/May/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 4.7.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Gregory Wlodarek | Assignee: | Gregory Wlodarek |
| Resolution: | Fixed | Votes: | 1 |
| 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-06-01 | ||||||||
| Participants: | |||||||||
| Description |
|
These two functions are both doing NamespaceString checks with subtle differences which check whether the namespace is valid. Instead of maintaining two different copies, we should consider consolidating them into one function. DatabaseImpl::_checkCanCreateCollection() |
| Comments |
| Comment by Gregory Noma [ 18/Jun/20 ] |
|
Githook never ran for this. Author: {'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}Message: |