We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 678e917 commit 4ab0df5Copy full SHA for 4ab0df5
src/mongo/db/auth/authorization_manager.cpp
@@ -250,7 +250,8 @@ namespace mongo {
250
<< principal->getName(),
251
0);
252
}
253
- if (principal->getName() == internalSecurity.user) {
+ // TODO: move internalSecurity into AuthorizationManager
254
+ if (principal->getName() == "__system") {
255
// Grant full access to internal user
256
ActionSet allActions;
257
allActions.addAllActions();
0 commit comments