summaryrefslogtreecommitdiff
path: root/src/mongo/db/audit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/audit.cpp')
-rw-r--r--src/mongo/db/audit.cpp16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/mongo/db/audit.cpp b/src/mongo/db/audit.cpp
index 9b3dd2aa02d..a06d0058a8f 100644
--- a/src/mongo/db/audit.cpp
+++ b/src/mongo/db/audit.cpp
@@ -211,11 +211,17 @@ namespace audit {
void appendImpersonatedUsers(BSONObjBuilder* cmd) MONGO_AUDIT_STUB
- void parseAndRemoveImpersonatedUserField(BSONObj cmdObj,
- AuthorizationSession* authSession,
- std::vector<UserName>* parsedUserNames,
- bool* fieldIsPresent)
- MONGO_AUDIT_STUB
+ void parseAndRemoveImpersonatedUsersField(
+ BSONObj cmdObj,
+ AuthorizationSession* authSession,
+ std::vector<UserName>* parsedUserNames,
+ bool* fieldIsPresent) MONGO_AUDIT_STUB
+
+ void parseAndRemoveImpersonatedRolesField(
+ BSONObj cmdObj,
+ AuthorizationSession* authSession,
+ std::vector<RoleName>* parsedRoleNames,
+ bool* fieldIsPresent) MONGO_AUDIT_STUB
} // namespace audit
} // namespace mongo