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()
userAllowedCreateNS()
- is related to
-
SERVER-48955 Do not allow user created collections to have a '$' in the namespace
-
- Closed
-