Split out namespace pattern matching logic from _checkCanCreateCollection() into userAllowedCreateNS()

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2020-06-01
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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()

            Assignee:
            Gregory Wlodarek
            Reporter:
            Gregory Wlodarek
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: