diff options
author | Spencer T Brody <spencer@mongodb.com> | 2015-08-06 13:26:55 -0400 |
---|---|---|
committer | Spencer T Brody <spencer@mongodb.com> | 2015-08-12 11:27:43 -0400 |
commit | be7db282c80c981882ea67f909eb6be4e53d2d4b (patch) | |
tree | 615bcfdcc2e25e5db24b4d82f3db7cff1f9c4f91 /src/mongo/db/auth/authz_manager_external_state_local.cpp | |
parent | 86a3e6352eb27fd2e6115299bcec5103a830fe36 (diff) | |
download | mongo-be7db282c80c981882ea67f909eb6be4e53d2d4b.tar.gz |
SERVER-19543 Thread OperationContext through to everywhere that accesses the CatalogManager
Diffstat (limited to 'src/mongo/db/auth/authz_manager_external_state_local.cpp')
-rw-r--r-- | src/mongo/db/auth/authz_manager_external_state_local.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/auth/authz_manager_external_state_local.cpp b/src/mongo/db/auth/authz_manager_external_state_local.cpp index 7f410b605af..449c1e9dbfe 100644 --- a/src/mongo/db/auth/authz_manager_external_state_local.cpp +++ b/src/mongo/db/auth/authz_manager_external_state_local.cpp @@ -227,7 +227,8 @@ Status AuthzManagerExternalStateLocal::_getUserDocument(OperationContext* txn, return status; } -Status AuthzManagerExternalStateLocal::getRoleDescription(const RoleName& roleName, +Status AuthzManagerExternalStateLocal::getRoleDescription(OperationContext* txn, + const RoleName& roleName, bool showPrivileges, BSONObj* result) { stdx::lock_guard<stdx::mutex> lk(_roleGraphMutex); @@ -286,7 +287,8 @@ Status AuthzManagerExternalStateLocal::_getRoleDescription_inlock(const RoleName return Status::OK(); } -Status AuthzManagerExternalStateLocal::getRoleDescriptionsForDB(const std::string dbname, +Status AuthzManagerExternalStateLocal::getRoleDescriptionsForDB(OperationContext* txn, + const std::string dbname, bool showPrivileges, bool showBuiltinRoles, vector<BSONObj>* result) { |