diff options
Diffstat (limited to 'src/mongo/db/audit.cpp')
-rw-r--r-- | src/mongo/db/audit.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/mongo/db/audit.cpp b/src/mongo/db/audit.cpp index a9dda955aad..6156350bae0 100644 --- a/src/mongo/db/audit.cpp +++ b/src/mongo/db/audit.cpp @@ -77,7 +77,8 @@ void mongo::audit::logCreateUser(Client* client, const UserName& username, bool password, const BSONObj* customData, - const std::vector<RoleName>& roles) {} + const std::vector<RoleName>& roles, + const boost::optional<BSONArray>& restrictions) {} void mongo::audit::logDropUser(Client* client, const UserName& username) {} @@ -87,7 +88,8 @@ void mongo::audit::logUpdateUser(Client* client, const UserName& username, bool password, const BSONObj* customData, - const std::vector<RoleName>* roles) {} + const std::vector<RoleName>* roles, + const boost::optional<BSONArray>& restrictions) {} void mongo::audit::logGrantRolesToUser(Client* client, const UserName& username, @@ -100,12 +102,14 @@ void mongo::audit::logRevokeRolesFromUser(Client* client, void mongo::audit::logCreateRole(Client* client, const RoleName& role, const std::vector<RoleName>& roles, - const PrivilegeVector& privileges) {} + const PrivilegeVector& privileges, + const boost::optional<BSONArray>& restrictions) {} void mongo::audit::logUpdateRole(Client* client, const RoleName& role, const std::vector<RoleName>* roles, - const PrivilegeVector* privileges) {} + const PrivilegeVector* privileges, + const boost::optional<BSONArray>& restrictions) {} void mongo::audit::logDropRole(Client* client, const RoleName& role) {} |