summaryrefslogtreecommitdiff
path: root/src/mongo/db/namespace_string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/namespace_string.cpp')
-rw-r--r--src/mongo/db/namespace_string.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/db/namespace_string.cpp b/src/mongo/db/namespace_string.cpp
index d25886e4904..eea72c9e3f8 100644
--- a/src/mongo/db/namespace_string.cpp
+++ b/src/mongo/db/namespace_string.cpp
@@ -132,6 +132,12 @@ bool NamespaceString::isLegalClientSystemNS() const {
return true;
if (coll() == "system.backup_users")
return true;
+ if (coll() == kExternalKeysCollectionNamespace.coll()) {
+ // TODO (SERVER-53404): This was added to allow client in an integration test to
+ // manually insert the key document into this system collection. Remove this when the
+ // tenant migration donor does the copying by itself.
+ return true;
+ }
} else if (db() == kConfigDb) {
if (coll() == "system.sessions")
return true;